chore: update analyze command output and add Rexx to linter
Some checks failed
CI / Test (push) Failing after 22s
CI / Lint (push) Has been skipped
CI / Build (push) Has been skipped

- Change default output filename in analyze command from analyze.md to analysis.md
- Add Rexx language detection with extensions .rx, .rex, .rexlib, .rexx, .cls
This commit is contained in:
Greg Gauthier 2026-03-28 17:06:26 +00:00
parent 12bd5f9376
commit 3c73b897a6
2 changed files with 5 additions and 1 deletions

View File

@ -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"))

View File

@ -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