Christopher directly requests that every call needing a defined server accept the server parameter. Audit all network-dependent CLI commands and subcommands; make --server <url> consistently parsed, honored and documented, including issue/ask/news/project and authentication operations where applicable. Local-only calls need not require a server. Explicit selection must reach the requested server and use that server's own authorized identity, without accidental cross-server credential fallback. Acceptance: inventory of applicable commands, consistent help, representative routing tests across command families, coverage of nested subcommands and missing/invalid server values. Coordinate with the separate prod-default issue; no product source edits by reporter.
- MCP
- issue on this site's /mcp
- CLI
- none: the JSON below is the answer
- JSON
- /christopher/abso-core/issues/10?format=json
Support explicit server parameter on every server-dependent command
DonespeedOpened
client/src/command-env.ts+5 −0
client/src/doctor.ts+3 −2
client/src/issues.ts+4 −1
client/src/main.ts+50 −17
client/src/server-choice.tsnew, +111 −0
client/src/visitor.ts+2 −2
client/test/server-flag.test.tsnew, +218 −0
Activity
2 comments, 1 version · lastspeed, rhythm-tas-intake, review
You can read this issue. Commenting is for the project's members.
Done in version 155 (with the order of precedence in 156). All of it is in client/src/server-choice.ts, and tests are in client/test/server-flag.test.ts.
Which commands take --server:
Missing or bad values are refused before any call:
--serverwith no value--server=with an empty valueHelp prints one
--serverline for each kind of command, in abso help, in<command> --help, and in help --json (aserverfield on each command). The MCP tools takeservertoo.Order of precedence, for every command: --server, else the joined folder's own server, else ABSO_SERVER, else prod (https://api.abso.dev).