refactor: relocate thanks command to bd info --thanks (bd-wb9g)

- Add --thanks flag to bd info command
- Make bd thanks a hidden command (deprecated but still works)
- Part of CLI consolidation effort (bd-9115)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-27 16:08:34 -08:00
parent 1611f16751
commit 2810cf05cc
3 changed files with 22 additions and 9 deletions

View File

@@ -109,12 +109,16 @@ var beadsContributors = map[string]int{
}
var thanksCmd = &cobra.Command{
Use: "thanks",
Short: "Thank the human contributors to beads",
Use: "thanks",
Short: "Thank the human contributors to beads",
Hidden: true, // Deprecated: use 'bd info --thanks' instead
Long: `Display a thank you page listing all human contributors to the beads project.
DEPRECATED: Use 'bd info --thanks' instead.
Examples:
bd thanks # Show thank you page
bd info --thanks # Show thank you page (preferred)
bd thanks # Legacy command (still works)
`,
Run: func(cmd *cobra.Command, args []string) {
printThanksPage()