upbound / up

The @upbound CLI
Apache License 2.0
49 stars 42 forks source link

Expose ctx and ctp commands #489

Closed RedbackThomson closed 2 months ago

RedbackThomson commented 2 months ago

Description of your changes

Fixes https://github.com/upbound/up/issues/488

I have:

How has this code been tested

$ ./up help
Usage: up <command>

The Upbound CLI

Flags:
  -h, --help                Show context-sensitive help.
      --format="default"    Format for get/list commands. Can be: json, yaml, default
  -q, --quiet               Suppress all output.
      --pretty              Pretty print output.

Commands:
  license                Print Up license information.
  help                   Show help.
  login                  Login to Upbound.
  logout                 Logout of Upbound.
  configuration (cfg)    Interact with configurations.
  controlplane (ctp)     Interact with control planes in the current context, both in the cloud and in a local
                         Space.
  space                  Interact with Spaces.
  group                  Interact with groups inside Spaces.
  organization (org)     Interact with Upbound organizations.
  profile                Interact with Upbound profiles or local Spaces.
  ctx                    Select an Upbound kubeconfig context.
  repository (repo)      Interact with repositories.
  robot                  Interact with robots.
  uxp                    Interact with UXP.
  xpkg                   Interact with UXP packages.
  xpls                   Start xpls language server.
  alpha                  Alpha features. Commands may be removed in future releases.
  install-completions    Install shell completions
  version                Print the client and server version information for the current context.

Run "up <command> --help" for more information on a command
sttts commented 2 months ago

Nit: move it up below login/logout