Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI] static command to ssh into VM #180

Open
barbieri opened this issue Aug 17, 2023 · 0 comments
Open

[CLI] static command to ssh into VM #180

barbieri opened this issue Aug 17, 2023 · 0 comments
Labels
cli cli related improvements enhancement New feature or request

Comments

@barbieri
Copy link
Contributor

barbieri commented Aug 17, 2023

I was reading some examples that used gcloud and remembered about 2 very helpful commands we should try to incorporate into our CLI:

gcloud compute ssh $ID
gcloud compute scp ... files ... $ID

We could add a CLI-local set of static commands and overlay them onto sdk.Group() with NewMergeGroup() -- The issue would be how to make the interface more usable... right now we can't get general options and argv with core.Executor()...

As this is pure-CLI, we do not need to constrain ourselves to sdk.Group() and core.Executor(), but we'd need to change DynamicLoadCommand() and/or AddGroup() to handle more than the sdk.Grouper...

Suggested command:

cli virtual-machines instances ssh $ID
cli virtual-machines instances scp ... files ... $ID
@barbieri barbieri added enhancement New feature or request cli cli related improvements labels Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli cli related improvements enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant