feat(cli): add openshell gateway list subcommand - #1179
Merged
Conversation
Wires up a first-class `gateway list` command that calls the existing `run::gateway_list()` helper. Resolves the dead reference in `crates/openshell-bootstrap/src/errors.rs:248`, where the port-conflict recovery hint already pointed users at this command. Updates the manage-gateways doc to teach the new verb instead of the `gateway select`-with-no-arg fallback. Closes #1173 Signed-off-by: Max Dubrinsky <mdubrinsky@nvidia.com>
maxdubrinsky
requested review from
a team,
derekwaynecarr,
maxamillion and
mrunalp
as code owners
May 5, 2026 21:18
|
All contributors have signed the DCO ✍️ ✅ |
|
🌿 Preview your docs: https://nvidia-preview-pr-1179.docs.buildwithfern.com/openshell |
Collaborator
Author
|
I have read the DCO document and I hereby sign the DCO. |
johntmyers
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Wires up
openshell gateway listas a first-class subcommand. Resolvesthe dead reference at
crates/openshell-bootstrap/src/errors.rs:248,where the port-conflict recovery hint already pointed users at this
command.
Related Issue
Closes #1173
Changes
crates/openshell-cli/src/main.rs: addGatewayCommands::Listvariantand dispatch to the existing
run::gateway_list(&cli.gateway).docs/sandboxes/manage-gateways.mdx: replace thegateway selectworkaround with
gateway listin the "List all registered gateways"example.
Testing
Manual:
openshell gateway listrenders the same table asgateway select(no arg), and
openshell gateway --helpshows the new subcommand.mise run pre-commitpassesChecklist