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