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 inbox` - Check your messages")
|
||||||
fmt.Println("- `gt mail read <id>` - Read a specific message")
|
fmt.Println("- `gt mail read <id>` - Read a specific message")
|
||||||
fmt.Println("- `gt status` - Show overall town status")
|
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("- `bd ready` - Issues ready to work")
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
fmt.Println("## Hookable Mail")
|
fmt.Println("## Hookable Mail")
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ func runWorktree(cmd *cobra.Command, args []string) error {
|
|||||||
// Verify target rig exists
|
// Verify target rig exists
|
||||||
_, targetRigInfo, err := getRig(targetRig)
|
_, targetRigInfo, err := getRig(targetRig)
|
||||||
if err != nil {
|
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>/
|
// 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
|
// Verify target rig exists
|
||||||
_, targetRigInfo, err := getRig(targetRig)
|
_, targetRigInfo, err := getRig(targetRig)
|
||||||
if err != nil {
|
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>/
|
// 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:**
|
**1. List accessible rigs:**
|
||||||
```bash
|
```bash
|
||||||
gt rigs
|
gt rig list
|
||||||
# Returns list of rigs: gastown, beads, etc.
|
# Returns list of rigs: gastown, beads, etc.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ gt hook # Shows scope in hook_bead
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# If town-wide
|
# If town-wide
|
||||||
gt rigs # Get list of all rigs
|
gt rig list # Get list of all rigs
|
||||||
|
|
||||||
# If specific rig
|
# If specific rig
|
||||||
# Just use that rig
|
# Just use that rig
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ Archive and clear all agent inboxes across all rigs.
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# For each rig
|
# 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/witness --archive
|
||||||
gt mail clear $rig/refinery --archive
|
gt mail clear $rig/refinery --archive
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ bd show hq-abc # Routes to town beads
|
|||||||
|
|
||||||
### Status
|
### Status
|
||||||
- `gt status` - Overall town 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
|
- `gt polecat list [rig]` - List polecats in a rig
|
||||||
|
|
||||||
### Work Management
|
### Work Management
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ gt init
|
|||||||
gt status
|
gt status
|
||||||
|
|
||||||
# List rigs
|
# List rigs
|
||||||
gt rigs
|
gt rig list
|
||||||
```
|
```
|
||||||
|
|
||||||
## Supported Platforms
|
## Supported Platforms
|
||||||
|
|||||||
Reference in New Issue
Block a user