feat: add command aliases for PGT parity (may, sess, ref, sp, cat, stat)

Add Cobra aliases to match PGT abbreviation support:
- mayor → may (gt may at now works)
- session → sess
- refinery → ref
- spawn → sp
- polecat → cat
- status → stat

This enables the same abbreviated commands that worked in PGT, like
"gt may at" to attach to the Mayor session.

🤖 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-18 00:31:19 -08:00
parent 0703835ce9
commit 6e29231094
5 changed files with 15 additions and 10 deletions

View File

@@ -17,8 +17,9 @@ import (
var statusJSON bool
var statusCmd = &cobra.Command{
Use: "status",
Short: "Show overall town status",
Use: "status",
Aliases: []string{"stat"},
Short: "Show overall town status",
Long: `Display the current status of the Gas Town workspace.
Shows town name, registered rigs, active polecats, and witness status.`,