Skip to content

Commit 0b871de

Browse files
committed
chore: fix linting warnings, recreated docs again
1 parent 68e8337 commit 0b871de

File tree

5 files changed

+14
-9
lines changed

5 files changed

+14
-9
lines changed

docs/stackit_beta_image_create.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ stackit beta image create [flags]
1313
### Examples
1414

1515
```
16-
Create a named imaged
16+
Create an image with name 'my-new-image' from a raw disk image located in '/my/raw/image'
1717
$ stackit beta image create --name my-new-image --disk-format=raw --local-file-path=/my/raw/image
1818
19-
Create a named image with labels
20-
$ stackit beta image create --name my-new-image --disk-format=raw --local-file-path=/my/raw/image--labels dev,amd64
19+
Create an image with name 'my-new-image' from a qcow2 image read from '/my/qcow2/image' with labels describing its contents
20+
$ stackit beta image create --name my-new-image --disk-format=qcow2 --local-file-path=/my/qcow2/image --labels os=linux,distro=alpine,version=3.12
2121
```
2222

2323
### Options
@@ -34,6 +34,7 @@ stackit beta image create [flags]
3434
--min-ram int Size in Megabyte.
3535
--name string The name of the image.
3636
--nic-model string Sets virtual nic model.
37+
--no-progress Show no progress indicator for upload.
3738
--os string Enables OS specific optimizations.
3839
--os-distro string Operating System Distribution.
3940
--os-version string Version of the OS.

docs/stackit_beta_image_list.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@ stackit beta image list [flags]
1818
1919
List images with label
2020
$ stackit beta image list --label-selector ARM64,dev
21+
22+
List the first 10 images
23+
$ stackit beta image list --limit=10
2124
```
2225

2326
### Options
2427

2528
```
2629
-h, --help Help for "stackit beta image list"
2730
--label-selector string Filter by label
31+
--limit int Limit the output to the first n elements
2832
```
2933

3034
### Options inherited from parent commands

docs/stackit_beta_image_update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ stackit beta image update IMAGE_ID [flags]
1313
### Examples
1414

1515
```
16-
Update the name of image "xxx"
16+
Update the name of an image with ID "xxx"
1717
$ stackit beta image update xxx --name my-new-name
1818
19-
Update the labels of image "xxx"
19+
Update the labels of an image with ID "xxx"
2020
$ stackit beta image update xxx --labels label1=value1,label2=value2
2121
```
2222

docs/stackit_ske_kubeconfig_create.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ stackit ske kubeconfig create CLUSTER_NAME [flags]
3333
Create a kubeconfig for the SKE cluster with name "my-cluster" in a custom filepath
3434
$ stackit ske kubeconfig create my-cluster --filepath /path/to/config
3535
36-
Get a kubeconfig for the SKE cluster with name "my-cluster" without writing it to a file.
37-
36+
Get a kubeconfig for the SKE cluster with name "my-cluster" without writing it to a file and format the output as json
37+
$ stackit ske kubeconfig create my-cluster --disable-writing --output-format json
3838
```
3939

4040
### Options
4141

4242
```
43-
--disable-writing Disable writing to the kubeconfig file.
43+
--disable-writing Disable the writing of kubeconfig. Set the output format to json or yaml using the --output-format flag to display the kubeconfig.
4444
-e, --expiration string Expiration time for the kubeconfig in seconds(s), minutes(m), hours(h), days(d) or months(M). Example: 30d. By default, expiration time is 1h
4545
--filepath string Path to create the kubeconfig file. By default, the kubeconfig is created as 'config' in the .kube folder, in the user's home directory.
4646
-h, --help Help for "stackit ske kubeconfig create"

internal/cmd/beta/beta.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ package beta
33
import (
44
"fmt"
55

6+
image "github.com/stackitcloud/stackit-cli/internal/cmd/beta/image"
67
keypair "github.com/stackitcloud/stackit-cli/internal/cmd/beta/key-pair"
78
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/network"
89
networkArea "github.com/stackitcloud/stackit-cli/internal/cmd/beta/network-area"
910
networkinterface "github.com/stackitcloud/stackit-cli/internal/cmd/beta/network-interface"
1011
publicip "github.com/stackitcloud/stackit-cli/internal/cmd/beta/public-ip"
1112
securitygroup "github.com/stackitcloud/stackit-cli/internal/cmd/beta/security-group"
12-
image "github.com/stackitcloud/stackit-cli/internal/cmd/beta/image"
1313
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/server"
1414
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/sqlserverflex"
1515
"github.com/stackitcloud/stackit-cli/internal/cmd/beta/volume"

0 commit comments

Comments
 (0)