fix(cmd): remove misplaced analyze command addition
Some checks failed
CI / Test (push) Failing after 23s
CI / Lint (push) Has been skipped
CI / Build (push) Has been skipped

- 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:
Greg Gauthier 2026-03-28 17:37:11 +00:00
parent 3c73b897a6
commit 269faa6546
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -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`
},
}