fix(cmd): remove misplaced analyze command addition
- Remove `rootCmd.AddCommand(analyzeCmd)` from `cmd/analyze.go` init func - Add empty `Linters` array for Rexx in `internal/linter/linter.go` with comment for analyze support
This commit is contained in:
parent
3c73b897a6
commit
269faa6546
@ -129,8 +129,6 @@ func init() {
|
||||
analyzeCmd.Flags().String("dir", ".", "Repository root to analyze")
|
||||
analyzeCmd.Flags().StringP("output", "o", "analyze.md", "Output file (use - for stdout)")
|
||||
analyzeCmd.Flags().BoolP("yes", "y", false, "Skip confirmation prompt")
|
||||
|
||||
rootCmd.AddCommand(analyzeCmd)
|
||||
}
|
||||
|
||||
// discoverSourceFiles walks the directory and collects all supported source files.
|
||||
|
||||
@ -173,6 +173,7 @@ var languages = []Language{
|
||||
{
|
||||
Name: "Rexx",
|
||||
Extensions: []string{".rx", ".rex", ".rexlib", ".rexx", ".cls"},
|
||||
Linters: []Linter{}, // No traditional linter; used primarily by `grokkit analyze`
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user