docs: 'uc docs' command to generate CLI reference docs

This commit is contained in:
Pasha Sviderski
2025-08-28 20:09:18 +10:00
parent 290e6db98e
commit 7c19323ea1
41 changed files with 1265 additions and 1 deletions
@@ -0,0 +1,35 @@
# uc volume rm
Remove one or more volumes.
## Synopsis
Remove one or more volumes. You cannot remove a volume that is in use by a container.
```
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.
If not specified, the found volume(s) will be removed from all machines.
-y, --yes Do not prompt for confirmation before removing the volume(s).
```
## 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 volume](uc_volume.md) - Manage volumes in an Uncloud cluster.