feat: migrate from docopt to cobra for CLI argument parsing

Replace docopt-go with spf13/cobra, giving cheat a built-in
`--completion` flag that dynamically generates shell completions for
bash, zsh, fish, and powershell. This replaces the manually-maintained
static completion scripts and resolves the root cause of multiple
completion issues (#768, #705, #633, #632, #476).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Christopher Allen LaneandClaude Opus 4.6 committed 2026-02-15 18:19:20 -05:00
1 parent ca1ec0e38d
commit 9b92261604
119 files changed
+14204 -3127

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
.idea/*