Skip to content

Commit c94b981

Browse files
committed
feat: update generated APIs
1 parent 4e33c67 commit c94b981

File tree

4 files changed

+765
-5
lines changed

4 files changed

+765
-5
lines changed

cmd/scw/testdata/test-all-usage-block-snapshot-create-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ To create a snapshot, the volume must be in the `in_use` or the `available` stat
44
If your volume is in a transient state, you need to wait until the end of the current operation.
55

66
USAGE:
7-
scw block snapshot create [arg=value ...]
7+
scw block snapshot create <volume-id ...> [arg=value ...]
88

99
ARGS:
10-
[volume-id] UUID of the volume to snapshot
10+
volume-id UUID of the volume to snapshot
1111
[name=<generated>] Name of the snapshot
1212
[project-id] Project ID to use. If none is passed the default project ID will be used
1313
[tags.{index}] List of tags assigned to the snapshot

docs/commands/block.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ If your volume is in a transient state, you need to wait until the end of the cu
3535
**Usage:**
3636

3737
```
38-
scw block snapshot create [arg=value ...]
38+
scw block snapshot create <volume-id ...> [arg=value ...]
3939
```
4040

4141

4242
**Args:**
4343

4444
| Name | | Description |
4545
|------|---|-------------|
46-
| volume-id | | UUID of the volume to snapshot |
46+
| volume-id | Required | UUID of the volume to snapshot |
4747
| name | Default: `<generated>` | Name of the snapshot |
4848
| project-id | | Project ID to use. If none is passed the default project ID will be used |
4949
| tags.{index} | | List of tags assigned to the snapshot |

0 commit comments

Comments
 (0)