Files
uncloud/website/docs/9-cli-reference/uc_ctx_ls.md
T

28 lines
706 B
Markdown

# uc ctx ls
List available cluster contexts.
```
uc ctx ls [flags]
```
## Options
```
-c, --context string Name of the cluster context. (default is the current context)
-h, --help help for ls
```
## Options inherited from parent commands
```
--connect string Connect to a remote cluster machine without using the Uncloud configuration file.
Format: [ssh://]user@host[:port] or tcp://host:port
--uncloud-config string Path to the Uncloud configuration file. (default "~/.config/uncloud/config.yaml")
```
## See also
* [uc ctx](uc_ctx.md) - Switch between different cluster contexts. Contains subcommands to manage contexts.