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
This commit is contained in:
parent
12bd5f9376
commit
3c73b897a6
@ -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"))
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user