From 3c73b897a6cfc1580e7049d3703d33e54053ea0f Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sat, 28 Mar 2026 17:06:26 +0000 Subject: [PATCH] chore: update analyze command output and add Rexx to linter - Change default output filename in analyze command from analyze.md to analysis.md - Add Rexx language detection with extensions .rx, .rex, .rexlib, .rexx, .cls --- cmd/analyze.go | 2 +- internal/linter/linter.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cmd/analyze.go b/cmd/analyze.go index 92c54d7..5755c61 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -30,7 +30,7 @@ Uses language-specific prompts discovered in .grokkit/prompts/ or ~/.config/grok } output := viper.GetString("output") if output == "" { - output = "analyze.md" + output = "analysis.md" } // Fixed: config.GetModel takes (commandName, flagModel) model := config.GetModel("analyze", viper.GetString("model")) diff --git a/internal/linter/linter.go b/internal/linter/linter.go index c89c010..32cec92 100644 --- a/internal/linter/linter.go +++ b/internal/linter/linter.go @@ -170,6 +170,10 @@ var languages = []Language{ }, }, }, + { + Name: "Rexx", + Extensions: []string{".rx", ".rex", ".rexlib", ".rexx", ".cls"}, + }, } // DetectLanguage detects the programming language based on file extension