From ce4a8cce724ee7ed5615a91ead32b620a04ef8e9 Mon Sep 17 00:00:00 2001 From: Pasha Sviderski Date: Thu, 20 Nov 2025 10:53:25 +1000 Subject: [PATCH] docs: regenereate CLI reference --- website/docs/9-cli-reference/uc.md | 1 + website/docs/9-cli-reference/uc_build.md | 2 +- website/docs/9-cli-reference/uc_caddy.md | 1 + .../docs/9-cli-reference/uc_caddy_config.md | 2 +- .../docs/9-cli-reference/uc_caddy_deploy.md | 2 +- website/docs/9-cli-reference/uc_ctx.md | 2 ++ .../docs/9-cli-reference/uc_ctx_connection.md | 27 +++++++++++++++++++ website/docs/9-cli-reference/uc_ctx_ls.md | 1 + website/docs/9-cli-reference/uc_ctx_use.md | 1 + website/docs/9-cli-reference/uc_deploy.md | 2 +- website/docs/9-cli-reference/uc_dns.md | 1 + .../docs/9-cli-reference/uc_dns_release.md | 4 +-- .../docs/9-cli-reference/uc_dns_reserve.md | 2 +- website/docs/9-cli-reference/uc_dns_show.md | 4 +-- website/docs/9-cli-reference/uc_exec.md | 2 +- website/docs/9-cli-reference/uc_image.md | 1 + website/docs/9-cli-reference/uc_image_ls.md | 2 +- website/docs/9-cli-reference/uc_image_push.md | 2 +- website/docs/9-cli-reference/uc_images.md | 2 +- website/docs/9-cli-reference/uc_inspect.md | 4 +-- website/docs/9-cli-reference/uc_ls.md | 4 +-- website/docs/9-cli-reference/uc_machine.md | 1 + .../docs/9-cli-reference/uc_machine_add.md | 10 ++++++- .../docs/9-cli-reference/uc_machine_init.md | 4 +++ website/docs/9-cli-reference/uc_machine_ls.md | 4 +-- .../docs/9-cli-reference/uc_machine_rename.md | 4 +-- website/docs/9-cli-reference/uc_machine_rm.md | 8 +++--- .../docs/9-cli-reference/uc_machine_token.md | 1 + .../docs/9-cli-reference/uc_machine_update.md | 2 +- website/docs/9-cli-reference/uc_rm.md | 4 +-- website/docs/9-cli-reference/uc_run.md | 2 +- website/docs/9-cli-reference/uc_scale.md | 4 +-- website/docs/9-cli-reference/uc_service.md | 1 + .../docs/9-cli-reference/uc_service_exec.md | 2 +- .../9-cli-reference/uc_service_inspect.md | 4 +-- website/docs/9-cli-reference/uc_service_ls.md | 4 +-- website/docs/9-cli-reference/uc_service_rm.md | 4 +-- .../docs/9-cli-reference/uc_service_run.md | 2 +- .../docs/9-cli-reference/uc_service_scale.md | 4 +-- website/docs/9-cli-reference/uc_volume.md | 1 + .../docs/9-cli-reference/uc_volume_create.md | 2 +- .../docs/9-cli-reference/uc_volume_inspect.md | 2 +- website/docs/9-cli-reference/uc_volume_ls.md | 2 +- website/docs/9-cli-reference/uc_volume_rm.md | 2 +- 44 files changed, 97 insertions(+), 46 deletions(-) create mode 100644 website/docs/9-cli-reference/uc_ctx_connection.md diff --git a/website/docs/9-cli-reference/uc.md b/website/docs/9-cli-reference/uc.md index 27b854b7..36547716 100644 --- a/website/docs/9-cli-reference/uc.md +++ b/website/docs/9-cli-reference/uc.md @@ -7,6 +7,7 @@ A CLI tool for managing Uncloud resources such as machines, services, and volume ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] -h, --help help for uc --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_build.md b/website/docs/9-cli-reference/uc_build.md index 9ec0a74e..831b5857 100644 --- a/website/docs/9-cli-reference/uc_build.md +++ b/website/docs/9-cli-reference/uc_build.md @@ -41,7 +41,6 @@ uc build [FLAGS] [SERVICE...] [flags] --build-arg stringArray Set a build-time variable for services. Used in Dockerfiles that declare the variable with ARG. Can be specified multiple times. Format: --build-arg VAR=VALUE --check Check the build configuration for services without building them. - -c, --context string Name of the cluster context. (default is the current context) --deps Also build services declared as dependencies of the selected services. -f, --file strings One or more Compose files to build. (default compose.yaml) -h, --help help for build @@ -60,6 +59,7 @@ uc build [FLAGS] [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_caddy.md b/website/docs/9-cli-reference/uc_caddy.md index 23527637..4e13c8b6 100644 --- a/website/docs/9-cli-reference/uc_caddy.md +++ b/website/docs/9-cli-reference/uc_caddy.md @@ -13,6 +13,7 @@ Manage Caddy reverse proxy service. ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_caddy_config.md b/website/docs/9-cli-reference/uc_caddy_config.md index cfb46c10..d7bf1e0e 100644 --- a/website/docs/9-cli-reference/uc_caddy_config.md +++ b/website/docs/9-cli-reference/uc_caddy_config.md @@ -13,7 +13,6 @@ uc caddy config [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) -h, --help help for config -m, --machine string Name or ID of the machine to get the configuration from. (default is connected machine) --no-color Disable syntax highlighting for the output. @@ -24,6 +23,7 @@ uc caddy config [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_caddy_deploy.md b/website/docs/9-cli-reference/uc_caddy_deploy.md index 0b95740d..1af11a82 100644 --- a/website/docs/9-cli-reference/uc_caddy_deploy.md +++ b/website/docs/9-cli-reference/uc_caddy_deploy.md @@ -15,7 +15,6 @@ uc caddy deploy [flags] ``` --caddyfile string Path to a custom global Caddy config (Caddyfile) that will be prepended to the auto-generated Caddy config. - -c, --context string Name of the cluster context to deploy to. (default is the current context) -h, --help help for deploy --image string Caddy Docker image to deploy. (default caddy:LATEST_VERSION) -m, --machine strings Machine names or IDs to deploy to. Can be specified multiple times or as a comma-separated list. (default is all machines) @@ -26,6 +25,7 @@ uc caddy deploy [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_ctx.md b/website/docs/9-cli-reference/uc_ctx.md index 2c064a90..55ccb50c 100644 --- a/website/docs/9-cli-reference/uc_ctx.md +++ b/website/docs/9-cli-reference/uc_ctx.md @@ -17,12 +17,14 @@ uc ctx [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` ## See also * [uc](uc.md) - A CLI tool for managing Uncloud resources such as machines, services, and volumes. +* [uc ctx connection](uc_ctx_connection.md) - Choose a new default connection for the current context. * [uc ctx ls](uc_ctx_ls.md) - List available cluster contexts. * [uc ctx use](uc_ctx_use.md) - Switch to a different cluster context. diff --git a/website/docs/9-cli-reference/uc_ctx_connection.md b/website/docs/9-cli-reference/uc_ctx_connection.md new file mode 100644 index 00000000..279621e3 --- /dev/null +++ b/website/docs/9-cli-reference/uc_ctx_connection.md @@ -0,0 +1,27 @@ +# uc ctx connection + +Choose a new default connection for the current context. + +``` +uc ctx connection [flags] +``` + +## Options + +``` + -h, --help help for connection +``` + +## Options inherited from parent commands + +``` + --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] + Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] + --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") +``` + +## See also + +* [uc ctx](uc_ctx.md) - Switch between different cluster contexts. Contains subcommands to manage contexts. + diff --git a/website/docs/9-cli-reference/uc_ctx_ls.md b/website/docs/9-cli-reference/uc_ctx_ls.md index c4e6a53b..7ad9f515 100644 --- a/website/docs/9-cli-reference/uc_ctx_ls.md +++ b/website/docs/9-cli-reference/uc_ctx_ls.md @@ -17,6 +17,7 @@ uc ctx ls [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_ctx_use.md b/website/docs/9-cli-reference/uc_ctx_use.md index 29f972bb..4914928e 100644 --- a/website/docs/9-cli-reference/uc_ctx_use.md +++ b/website/docs/9-cli-reference/uc_ctx_use.md @@ -21,6 +21,7 @@ uc ctx use [CONTEXT] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_deploy.md b/website/docs/9-cli-reference/uc_deploy.md index c5adf9c5..986f8aec 100644 --- a/website/docs/9-cli-reference/uc_deploy.md +++ b/website/docs/9-cli-reference/uc_deploy.md @@ -12,7 +12,6 @@ uc deploy [FLAGS] [SERVICE...] [flags] --build-arg stringArray Set a build-time variable for services. Used in Dockerfiles that declare the variable with ARG. Can be specified multiple times. Format: --build-arg VAR=VALUE --build-pull Always attempt to pull newer versions of base images before building service images. - -c, --context string Name of the cluster context to deploy to (default is the current context) -f, --file strings One or more Compose files to deploy services from. (default compose.yaml) -h, --help help for deploy --no-build Do not build new images before deploying services. @@ -28,6 +27,7 @@ uc deploy [FLAGS] [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_dns.md b/website/docs/9-cli-reference/uc_dns.md index 2212fbf6..32f2dc3c 100644 --- a/website/docs/9-cli-reference/uc_dns.md +++ b/website/docs/9-cli-reference/uc_dns.md @@ -18,6 +18,7 @@ DNS commands allow you to reserve or release a unique '\.cluster.uncloud.run ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_dns_release.md b/website/docs/9-cli-reference/uc_dns_release.md index 6fd58772..9c5f2c42 100644 --- a/website/docs/9-cli-reference/uc_dns_release.md +++ b/website/docs/9-cli-reference/uc_dns_release.md @@ -9,8 +9,7 @@ uc dns release [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for release + -h, --help help for release ``` ## Options inherited from parent commands @@ -18,6 +17,7 @@ uc dns release [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_dns_reserve.md b/website/docs/9-cli-reference/uc_dns_reserve.md index f8e1b31a..89282edf 100644 --- a/website/docs/9-cli-reference/uc_dns_reserve.md +++ b/website/docs/9-cli-reference/uc_dns_reserve.md @@ -9,7 +9,6 @@ uc dns reserve [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) --endpoint string API endpoint for the Uncloud DNS service. (default "https://dns.uncloud.run/v1") -h, --help help for reserve ``` @@ -19,6 +18,7 @@ uc dns reserve [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_dns_show.md b/website/docs/9-cli-reference/uc_dns_show.md index 69f016ca..b2df98ff 100644 --- a/website/docs/9-cli-reference/uc_dns_show.md +++ b/website/docs/9-cli-reference/uc_dns_show.md @@ -9,8 +9,7 @@ uc dns show [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for show + -h, --help help for show ``` ## Options inherited from parent commands @@ -18,6 +17,7 @@ uc dns show [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_exec.md b/website/docs/9-cli-reference/uc_exec.md index 41bae341..fbeffffb 100644 --- a/website/docs/9-cli-reference/uc_exec.md +++ b/website/docs/9-cli-reference/uc_exec.md @@ -36,7 +36,6 @@ uc exec [OPTIONS] SERVICE [COMMAND ARGS...] [flags] ``` --container string ID of the container to exec into. Accepts full ID or a unique prefix (default is the random container of the service) - -c, --context string Name of the cluster context. (default is the current context) -d, --detach Detached mode: run command in the background -h, --help help for exec -T, --no-tty Disable pseudo-TTY allocation. By default 'uc exec' allocates a TTY when connected to a terminal. @@ -47,6 +46,7 @@ uc exec [OPTIONS] SERVICE [COMMAND ARGS...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_image.md b/website/docs/9-cli-reference/uc_image.md index dd0fc259..cca61431 100644 --- a/website/docs/9-cli-reference/uc_image.md +++ b/website/docs/9-cli-reference/uc_image.md @@ -13,6 +13,7 @@ Manage images on machines in the cluster. ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_image_ls.md b/website/docs/9-cli-reference/uc_image_ls.md index fd4e32dd..827802cb 100644 --- a/website/docs/9-cli-reference/uc_image_ls.md +++ b/website/docs/9-cli-reference/uc_image_ls.md @@ -32,7 +32,6 @@ uc image ls [REPO:[TAG]] [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) -h, --help help for ls -m, --machine strings Filter images by machine name or ID. Can be specified multiple times or as a comma-separated list. (default is include all machines) ``` @@ -42,6 +41,7 @@ uc image ls [REPO:[TAG]] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_image_push.md b/website/docs/9-cli-reference/uc_image_push.md index 6a94f5f8..c4713cb1 100644 --- a/website/docs/9-cli-reference/uc_image_push.md +++ b/website/docs/9-cli-reference/uc_image_push.md @@ -30,7 +30,6 @@ uc image push IMAGE [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) -h, --help help for push -m, --machine strings Machine names or IDs to push the image to. Can be specified multiple times or as a comma-separated list. (default is all machines) --platform string Push a specific platform of a multi-platform image (e.g., linux/amd64, linux/arm64). @@ -42,6 +41,7 @@ uc image push IMAGE [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_images.md b/website/docs/9-cli-reference/uc_images.md index 32616211..a29a45ce 100644 --- a/website/docs/9-cli-reference/uc_images.md +++ b/website/docs/9-cli-reference/uc_images.md @@ -32,7 +32,6 @@ uc images [IMAGE] [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) -h, --help help for images -m, --machine strings Filter images by machine name or ID. Can be specified multiple times or as a comma-separated list. (default is include all machines) ``` @@ -42,6 +41,7 @@ uc images [IMAGE] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_inspect.md b/website/docs/9-cli-reference/uc_inspect.md index af292a3b..13ad165b 100644 --- a/website/docs/9-cli-reference/uc_inspect.md +++ b/website/docs/9-cli-reference/uc_inspect.md @@ -9,8 +9,7 @@ uc inspect SERVICE [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for inspect + -h, --help help for inspect ``` ## Options inherited from parent commands @@ -18,6 +17,7 @@ uc inspect SERVICE [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_ls.md b/website/docs/9-cli-reference/uc_ls.md index e2ce56cf..b374cf04 100644 --- a/website/docs/9-cli-reference/uc_ls.md +++ b/website/docs/9-cli-reference/uc_ls.md @@ -9,8 +9,7 @@ uc ls [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for ls + -h, --help help for ls ``` ## Options inherited from parent commands @@ -18,6 +17,7 @@ uc ls [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine.md b/website/docs/9-cli-reference/uc_machine.md index 79e7f12b..d78f5da5 100644 --- a/website/docs/9-cli-reference/uc_machine.md +++ b/website/docs/9-cli-reference/uc_machine.md @@ -13,6 +13,7 @@ Manage machines in an Uncloud cluster. ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_add.md b/website/docs/9-cli-reference/uc_machine_add.md index 87c19157..c00734a1 100644 --- a/website/docs/9-cli-reference/uc_machine_add.md +++ b/website/docs/9-cli-reference/uc_machine_add.md @@ -2,6 +2,14 @@ Add a remote machine to a cluster. +## Synopsis + +Add a new machine to an existing Uncloud cluster. + +Connection methods: + ssh://user@host - Use built-in SSH library (default, no prefix required) + ssh+cli://user@host - Use system SSH command (supports ProxyJump, SSH config) + ``` uc machine add [USER@]HOST[:PORT] [flags] ``` @@ -9,7 +17,6 @@ uc machine add [USER@]HOST[:PORT] [flags] ## Options ``` - -c, --context string Name of the cluster context to add the machine to. (default is the current context) -h, --help help for add -n, --name string Assign a name to the machine. --no-caddy Don't deploy Caddy reverse proxy service to the machine. @@ -24,6 +31,7 @@ uc machine add [USER@]HOST[:PORT] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_init.md b/website/docs/9-cli-reference/uc_machine_init.md index fa3760f8..c13e0b47 100644 --- a/website/docs/9-cli-reference/uc_machine_init.md +++ b/website/docs/9-cli-reference/uc_machine_init.md @@ -7,6 +7,10 @@ Initialise a new cluster with a remote machine as the first member. Initialise a new cluster by setting up a remote machine as the first member. This command creates a new context in your Uncloud config to manage the cluster. +Connection methods: + ssh://user@host - Use built-in SSH library (default, no prefix required) + ssh+cli://user@host - Use system SSH command (supports ProxyJump, SSH config) + ``` uc machine init [USER@HOST:PORT] [flags] ``` diff --git a/website/docs/9-cli-reference/uc_machine_ls.md b/website/docs/9-cli-reference/uc_machine_ls.md index 1a4d7b03..bb78f471 100644 --- a/website/docs/9-cli-reference/uc_machine_ls.md +++ b/website/docs/9-cli-reference/uc_machine_ls.md @@ -9,8 +9,7 @@ uc machine ls [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for ls + -h, --help help for ls ``` ## Options inherited from parent commands @@ -18,6 +17,7 @@ uc machine ls [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_rename.md b/website/docs/9-cli-reference/uc_machine_rename.md index 3159ca86..1ba0ff6b 100644 --- a/website/docs/9-cli-reference/uc_machine_rename.md +++ b/website/docs/9-cli-reference/uc_machine_rename.md @@ -16,8 +16,7 @@ uc machine rename OLD_NAME NEW_NAME [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for rename + -h, --help help for rename ``` ## Options inherited from parent commands @@ -25,6 +24,7 @@ uc machine rename OLD_NAME NEW_NAME [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_rm.md b/website/docs/9-cli-reference/uc_machine_rm.md index bf870d3b..8396b680 100644 --- a/website/docs/9-cli-reference/uc_machine_rm.md +++ b/website/docs/9-cli-reference/uc_machine_rm.md @@ -9,10 +9,9 @@ uc machine rm MACHINE [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for rm - --no-reset Do not reset the machine after removing it from the cluster. This will leave all containers and data intact. - -y, --yes Do not prompt for confirmation before removing the machine. + -h, --help help for rm + --no-reset Do not reset the machine after removing it from the cluster. This will leave all containers and data intact. + -y, --yes Do not prompt for confirmation before removing the machine. ``` ## Options inherited from parent commands @@ -20,6 +19,7 @@ uc machine rm MACHINE [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_token.md b/website/docs/9-cli-reference/uc_machine_token.md index 53fdd68a..229bd2aa 100644 --- a/website/docs/9-cli-reference/uc_machine_token.md +++ b/website/docs/9-cli-reference/uc_machine_token.md @@ -18,6 +18,7 @@ uc machine token [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_update.md b/website/docs/9-cli-reference/uc_machine_update.md index 48cb63d9..31e81ea5 100644 --- a/website/docs/9-cli-reference/uc_machine_update.md +++ b/website/docs/9-cli-reference/uc_machine_update.md @@ -19,7 +19,6 @@ uc machine update [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) -h, --help help for update --name string New name for the machine --public-ip string Public IP address of the machine for ingress configuration. Use 'none' or '' to remove the public IP. @@ -30,6 +29,7 @@ uc machine update [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_rm.md b/website/docs/9-cli-reference/uc_rm.md index 6ef89c8d..f3198346 100644 --- a/website/docs/9-cli-reference/uc_rm.md +++ b/website/docs/9-cli-reference/uc_rm.md @@ -9,8 +9,7 @@ uc rm SERVICE [SERVICE...] [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for rm + -h, --help help for rm ``` ## Options inherited from parent commands @@ -18,6 +17,7 @@ uc rm SERVICE [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_run.md b/website/docs/9-cli-reference/uc_run.md index b6c366c2..fa34f389 100644 --- a/website/docs/9-cli-reference/uc_run.md +++ b/website/docs/9-cli-reference/uc_run.md @@ -10,7 +10,6 @@ uc run IMAGE [COMMAND...] [flags] ``` --caddyfile string Path to a custom Caddy config (Caddyfile) for the service. Cannot be used together with non-@host published ports. - -c, --context string Name of the cluster context to run the service in. (default is the current context) --cpu decimal Maximum number of CPU cores a service container can use. Fractional values are allowed: 0.5 for half a core or 2.25 for two and a quarter cores. --entrypoint string Overwrite the default ENTRYPOINT of the image. Pass an empty string "" to reset it. -e, --env strings Set an environment variable for service containers. Can be specified multiple times. @@ -48,6 +47,7 @@ uc run IMAGE [COMMAND...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_scale.md b/website/docs/9-cli-reference/uc_scale.md index 16c3adf5..246f977e 100644 --- a/website/docs/9-cli-reference/uc_scale.md +++ b/website/docs/9-cli-reference/uc_scale.md @@ -13,8 +13,7 @@ uc scale SERVICE REPLICAS [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for scale + -h, --help help for scale ``` ## Options inherited from parent commands @@ -22,6 +21,7 @@ uc scale SERVICE REPLICAS [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service.md b/website/docs/9-cli-reference/uc_service.md index 7fd7049b..0c61daed 100644 --- a/website/docs/9-cli-reference/uc_service.md +++ b/website/docs/9-cli-reference/uc_service.md @@ -13,6 +13,7 @@ Manage services in an Uncloud cluster. ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_exec.md b/website/docs/9-cli-reference/uc_service_exec.md index 572970e1..d69d9ee6 100644 --- a/website/docs/9-cli-reference/uc_service_exec.md +++ b/website/docs/9-cli-reference/uc_service_exec.md @@ -36,7 +36,6 @@ uc service exec [OPTIONS] SERVICE [COMMAND ARGS...] [flags] ``` --container string ID of the container to exec into. Accepts full ID or a unique prefix (default is the random container of the service) - -c, --context string Name of the cluster context. (default is the current context) -d, --detach Detached mode: run command in the background -h, --help help for exec -T, --no-tty Disable pseudo-TTY allocation. By default 'uc exec' allocates a TTY when connected to a terminal. @@ -47,6 +46,7 @@ uc service exec [OPTIONS] SERVICE [COMMAND ARGS...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_inspect.md b/website/docs/9-cli-reference/uc_service_inspect.md index e3b140fa..66df90c3 100644 --- a/website/docs/9-cli-reference/uc_service_inspect.md +++ b/website/docs/9-cli-reference/uc_service_inspect.md @@ -9,8 +9,7 @@ uc service inspect SERVICE [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for inspect + -h, --help help for inspect ``` ## Options inherited from parent commands @@ -18,6 +17,7 @@ uc service inspect SERVICE [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_ls.md b/website/docs/9-cli-reference/uc_service_ls.md index 5886652f..850f9b37 100644 --- a/website/docs/9-cli-reference/uc_service_ls.md +++ b/website/docs/9-cli-reference/uc_service_ls.md @@ -9,8 +9,7 @@ uc service ls [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for ls + -h, --help help for ls ``` ## Options inherited from parent commands @@ -18,6 +17,7 @@ uc service ls [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_rm.md b/website/docs/9-cli-reference/uc_service_rm.md index 24c94e30..d1b966ad 100644 --- a/website/docs/9-cli-reference/uc_service_rm.md +++ b/website/docs/9-cli-reference/uc_service_rm.md @@ -9,8 +9,7 @@ uc service rm SERVICE [SERVICE...] [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for rm + -h, --help help for rm ``` ## Options inherited from parent commands @@ -18,6 +17,7 @@ uc service rm SERVICE [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_run.md b/website/docs/9-cli-reference/uc_service_run.md index 63faf671..6b289f5e 100644 --- a/website/docs/9-cli-reference/uc_service_run.md +++ b/website/docs/9-cli-reference/uc_service_run.md @@ -10,7 +10,6 @@ uc service run IMAGE [COMMAND...] [flags] ``` --caddyfile string Path to a custom Caddy config (Caddyfile) for the service. Cannot be used together with non-@host published ports. - -c, --context string Name of the cluster context to run the service in. (default is the current context) --cpu decimal Maximum number of CPU cores a service container can use. Fractional values are allowed: 0.5 for half a core or 2.25 for two and a quarter cores. --entrypoint string Overwrite the default ENTRYPOINT of the image. Pass an empty string "" to reset it. -e, --env strings Set an environment variable for service containers. Can be specified multiple times. @@ -48,6 +47,7 @@ uc service run IMAGE [COMMAND...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_scale.md b/website/docs/9-cli-reference/uc_service_scale.md index b7eb0c2d..0cca3dcb 100644 --- a/website/docs/9-cli-reference/uc_service_scale.md +++ b/website/docs/9-cli-reference/uc_service_scale.md @@ -13,8 +13,7 @@ uc service scale SERVICE REPLICAS [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) - -h, --help help for scale + -h, --help help for scale ``` ## Options inherited from parent commands @@ -22,6 +21,7 @@ uc service scale SERVICE REPLICAS [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_volume.md b/website/docs/9-cli-reference/uc_volume.md index f29b7aca..be24823d 100644 --- a/website/docs/9-cli-reference/uc_volume.md +++ b/website/docs/9-cli-reference/uc_volume.md @@ -13,6 +13,7 @@ Manage volumes in an Uncloud cluster. ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_volume_create.md b/website/docs/9-cli-reference/uc_volume_create.md index 54d8c53a..542a6e0c 100644 --- a/website/docs/9-cli-reference/uc_volume_create.md +++ b/website/docs/9-cli-reference/uc_volume_create.md @@ -9,7 +9,6 @@ uc volume create VOLUME_NAME [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) -d, --driver string Volume driver to use. (default "local") -h, --help help for create -l, --label strings Labels to assign to the volume in the form of 'key=value' pairs. Can be specified multiple times. @@ -22,6 +21,7 @@ uc volume create VOLUME_NAME [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_volume_inspect.md b/website/docs/9-cli-reference/uc_volume_inspect.md index 7e3cf77a..a9ca99ba 100644 --- a/website/docs/9-cli-reference/uc_volume_inspect.md +++ b/website/docs/9-cli-reference/uc_volume_inspect.md @@ -9,7 +9,6 @@ uc volume inspect VOLUME_NAME [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) -h, --help help for inspect -m, --machine string Name or ID of the machine where the volume is located. If not specified, the volume will be searched across all machines. ``` @@ -19,6 +18,7 @@ uc volume inspect VOLUME_NAME [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_volume_ls.md b/website/docs/9-cli-reference/uc_volume_ls.md index 321a10a1..e9553377 100644 --- a/website/docs/9-cli-reference/uc_volume_ls.md +++ b/website/docs/9-cli-reference/uc_volume_ls.md @@ -9,7 +9,6 @@ uc volume ls [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) -h, --help help for ls -m, --machine strings Filter volumes by machine name or ID. Can be specified multiple times or as a comma-separated list. (default is include all machines) -q, --quiet Only display volume names. @@ -20,6 +19,7 @@ uc volume ls [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_volume_rm.md b/website/docs/9-cli-reference/uc_volume_rm.md index 9720d528..f60940e7 100644 --- a/website/docs/9-cli-reference/uc_volume_rm.md +++ b/website/docs/9-cli-reference/uc_volume_rm.md @@ -13,7 +13,6 @@ uc volume rm VOLUME_NAME [VOLUME_NAME...] [flags] ## Options ``` - -c, --context string Name of the cluster context. (default is the current context) -f, --force Force the removal of one or more volumes. -h, --help help for rm -m, --machine strings Name or ID of the machine to remove one or more volumes from. Can be specified multiple times or as a comma-separated list. @@ -26,6 +25,7 @@ uc volume rm VOLUME_NAME [VOLUME_NAME...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], or tcp://host:port + -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ```