cli/api: add `-j` shorthand for `--jurisdiction` · Entire
cli/api: add -j shorthand for --jurisdiction
172a2aa→main·
Soph·1w ago·1 file·+1 added/-1 removed
-j is free on the command (used: -X, -f, -F, -H, -i).
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Sessions
6d4dbe371e4aView transcript
?\
Comprehensive Checkpoint Testing CoverageCodex·GPT-5.5·2 steps
Changes
1
cmd/entire/cli
Mapi_cmd.go+1/-1
70 unmodified lines
71
72
73
74
74
75
76
77
70 unmodified lines
},
}
cmd.Flags().StringVar(&f.to, "to", apiTargetCore, "which backend to call: core or cell")
cmd.Flags().StringVar(&f.jurisdiction, "jurisdiction", "", "target a specific jurisdiction's cell (e.g. us, eu) instead of your home cell; implies --to cell")
cmd.Flags().StringVarP(&f.jurisdiction, "jurisdiction", "j", "", "target a specific jurisdiction's cell (e.g. us, eu) instead of your home cell; implies --to cell")
cmd.Flags().StringVarP(&f.method, "method", "X", "", "HTTP method (default GET, or POST when a field/body is given)")
cmd.Flags().StringArrayVarP(&f.rawFields, "raw-field", "f", nil, "add a string parameter in key=value format (repeatable)")
cmd.Flags().StringArrayVarP(&f.typedFields, "field", "F", nil, "add a typed parameter in key=value format; true/false/null/numbers are converted (repeatable)")
Mcmd/entire/cli/api_cmd.go+1/-1