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

sg: cloud - move all cloud ephemeral commands to a sub command ephemeral #62569

Merged
merged 2 commits into from May 15, 2024

Conversation

burmudar
Copy link
Contributor

@burmudar burmudar commented May 9, 2024

go run ./dev/sg cloud --help
NAME:
   sg cloud - Install and work with Sourcegraph Cloud tools

USAGE:
   sg cloud command [command options] [arguments...]

DESCRIPTION:
   Learn more about Sourcegraph Cloud:

   - Product: https://sourcegraph.com/docs/cloud
   - Handbook: https://handbook.sourcegraph.com/departments/cloud/


COMMANDS:
   install         Install or upgrade local `mi2` CLI (for Cloud V2)
   ephemeral, eph  Set of commands that operate on Cloud Ephemeral instances
   help, h         Shows a list of commands or help for one command

OPTIONS:
   --help, -h  show help

And when you do sg cloud eph

go run ./dev/sg cloud eph --help
NAME:
   sg cloud ephemeral - Set of commands that operate on Cloud Ephemeral instances

USAGE:
   sg cloud ephemeral command [command options] [arguments...]

DESCRIPTION:
   Commands to create, inspect or upgrade Cloud Ephemeral instances

COMMANDS:
   build          Trigger a cloud ephemeral build which will push images to the cloud ephemeral registry
   delete         Delete an ephemeral instance
   deploy         Deploy a new ephemeral instance from the current branch or specific version
   lease          Extend or reduce the lease expiry time of an ephemeral instance
   list           List ephemeral instances assigned to you, or all instances
   list-versions  List docker images in the cloud ephemeral registry
   status         Get the status of a ephemeral instance
   upgrade        upgrade an ephemeral instance
   help, h        Shows a list of commands or help for one command

Test plan

Tested locally

@burmudar burmudar requested review from filiphaftek and a team May 9, 2024 10:29
@burmudar burmudar self-assigned this May 9, 2024
@cla-bot cla-bot bot added the cla-signed label May 9, 2024
Base automatically changed from wb/sg/cloud-remote-wip-notice to main May 13, 2024 10:50
@burmudar burmudar merged commit fbb72fb into main May 15, 2024
12 checks passed
@burmudar burmudar deleted the wb/sg/ephemeral-sub-cmd branch May 15, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants