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

Update cosmoctl commands #586

Merged
merged 1 commit into from
Oct 12, 2022
Merged

Conversation

jlandowner
Copy link
Member

@jlandowner jlandowner commented Oct 12, 2022

  • Add command alias create, get, delete, run, stop
  • Rename workspace add-network-rule to create networkrule and workspace remove-network-rule to delete networkrule
$ cosmoctl 

Command line tool to manipulate comso
Complete documentation is available at http://github.com/cosmo-workspace/cosmo

MIT 2021 cosmo-workspace/cosmo

Usage:
  cosmoctl [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  create      Create cosmo resources
  delete      Delete cosmo resources
  get         Get cosmo resources
  help        Help about any command
  networkrule Manipulate NetworkRule of Workspace resource
  run         Run workload resources
  stop        Stop workload resources
  template    Manipulate Template resource
  user        Manipulate User resource
  version     Print the version number
  workspace   Manipulate Workspace resource

Flags:
      --context string      kube-context (default: current context)
  -h, --help                help for cosmoctl
      --kubeconfig string   kubeconfig file path (default: $HOME/.kube/config)
  -v, --verbose int         log level. -1:DISABLED, 0:INFO, 1:DEBUG, 2:ALL (default -1)

Use "cosmoctl [command] --help" for more information about a command.

@jlandowner jlandowner added improvement Improvement for existing feature cosmoctl cosmoctl go Pull requests that update Go code refactoring Refactoring labels Oct 12, 2022
@jlandowner jlandowner changed the title Update cosmoctl command alias Update cosmoctl commands Oct 12, 2022
@oruharo oruharo merged commit 9f894e2 into cosmo-workspace:main Oct 12, 2022
@jlandowner jlandowner deleted the cosmoctl-alias branch October 15, 2022 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmoctl cosmoctl go Pull requests that update Go code improvement Improvement for existing feature refactoring Refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants