Replace gt rigs with gt rig list in templates and docs (#217)
The command was renamed from `gt rigs` to `gt rig` with subcommands. This updates all references to use `gt rig list` for listing rigs.
This commit is contained in:
@@ -371,7 +371,7 @@ func outputMayorContext(ctx RoleContext) {
|
||||
fmt.Println("- `gt mail inbox` - Check your messages")
|
||||
fmt.Println("- `gt mail read <id>` - Read a specific message")
|
||||
fmt.Println("- `gt status` - Show overall town status")
|
||||
fmt.Println("- `gt rigs` - List all rigs")
|
||||
fmt.Println("- `gt rig list` - List all rigs")
|
||||
fmt.Println("- `bd ready` - Issues ready to work")
|
||||
fmt.Println()
|
||||
fmt.Println("## Hookable Mail")
|
||||
|
||||
@@ -113,7 +113,7 @@ func runWorktree(cmd *cobra.Command, args []string) error {
|
||||
// Verify target rig exists
|
||||
_, targetRigInfo, err := getRig(targetRig)
|
||||
if err != nil {
|
||||
return fmt.Errorf("rig '%s' not found - run 'gt rigs' to see available rigs", targetRig)
|
||||
return fmt.Errorf("rig '%s' not found - run 'gt rig list' to see available rigs", targetRig)
|
||||
}
|
||||
|
||||
// Compute worktree path: ~/gt/<target-rig>/crew/<source-rig>-<name>/
|
||||
@@ -305,7 +305,7 @@ func runWorktreeRemove(cmd *cobra.Command, args []string) error {
|
||||
// Verify target rig exists
|
||||
_, targetRigInfo, err := getRig(targetRig)
|
||||
if err != nil {
|
||||
return fmt.Errorf("rig '%s' not found - run 'gt rigs' to see available rigs", targetRig)
|
||||
return fmt.Errorf("rig '%s' not found - run 'gt rig list' to see available rigs", targetRig)
|
||||
}
|
||||
|
||||
// Compute worktree path: ~/gt/<target-rig>/crew/<source-rig>-<name>/
|
||||
|
||||
@@ -78,7 +78,7 @@ Gather activity data from each rig in the town.
|
||||
|
||||
**1. List accessible rigs:**
|
||||
```bash
|
||||
gt rigs
|
||||
gt rig list
|
||||
# Returns list of rigs: gastown, beads, etc.
|
||||
```
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ gt hook # Shows scope in hook_bead
|
||||
|
||||
```bash
|
||||
# If town-wide
|
||||
gt rigs # Get list of all rigs
|
||||
gt rig list # Get list of all rigs
|
||||
|
||||
# If specific rig
|
||||
# Just use that rig
|
||||
|
||||
@@ -85,7 +85,7 @@ Archive and clear all agent inboxes across all rigs.
|
||||
|
||||
```bash
|
||||
# For each rig
|
||||
for rig in $(gt rigs --names); do
|
||||
for rig in $(gt rig list --names); do
|
||||
gt mail clear $rig/witness --archive
|
||||
gt mail clear $rig/refinery --archive
|
||||
done
|
||||
|
||||
@@ -188,7 +188,7 @@ bd show hq-abc # Routes to town beads
|
||||
|
||||
### Status
|
||||
- `gt status` - Overall town status
|
||||
- `gt rigs` - List all rigs
|
||||
- `gt rig list` - List all rigs
|
||||
- `gt polecat list [rig]` - List polecats in a rig
|
||||
|
||||
### Work Management
|
||||
|
||||
Reference in New Issue
Block a user