Skip to content

Commit be45bb5

Browse files
committed
update describe examples
1 parent 22cf833 commit be45bb5

25 files changed

Lines changed: 52 additions & 52 deletions

File tree

internal/cmd/argus/grafana/describe/describe.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ func NewCmd(p *print.Printer) *cobra.Command {
4444
examples.NewExample(
4545
`Get details of the Grafana configuration of an Argus instance with ID "xxx"`,
4646
"$ stackit argus credentials describe xxx"),
47-
examples.NewExample(
48-
`Get details of the Grafana configuration of an Argus instance with ID "xxx" in a table format`,
49-
"$ stackit argus credentials describe xxx --output-format pretty"),
5047
examples.NewExample(
5148
`Get details of the Grafana configuration of an Argus instance with ID "xxx" and show the initial admin password`,
52-
"$ stackit argus credentials describe xxx --output-format pretty --show-password"),
49+
"$ stackit argus credentials describe xxx --show-password"),
50+
examples.NewExample(
51+
`Get details of the Grafana configuration of an Argus instance with ID "xxx" in JSON format`,
52+
"$ stackit argus credentials describe xxx --output-format json"),
5353
),
5454
RunE: func(cmd *cobra.Command, args []string) error {
5555
ctx := context.Background()

internal/cmd/argus/instance/describe/describe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ func NewCmd(p *print.Printer) *cobra.Command {
3838
`Get details of an Argus instance with ID "xxx"`,
3939
"$ stackit argus instance describe xxx"),
4040
examples.NewExample(
41-
`Get details of an Argus instance with ID "xxx" in a table format`,
42-
"$ stackit argus instance describe xxx --output-format pretty"),
41+
`Get details of an Argus instance with ID "xxx" in JSON format`,
42+
"$ stackit argus instance describe xxx --output-format json"),
4343
),
4444
RunE: func(cmd *cobra.Command, args []string) error {
4545
ctx := context.Background()

internal/cmd/argus/scrape-config/describe/describe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ func NewCmd(p *print.Printer) *cobra.Command {
4242
`Get details of a scrape configuration with name "my-config" from Argus instance "xxx"`,
4343
"$ stackit argus scrape-config describe my-config --instance-id xxx"),
4444
examples.NewExample(
45-
`Get details of a scrape configuration with name "my-config" from Argus instance "xxx" in a table format`,
46-
"$ stackit argus scrape-config describe my-config --output-format pretty"),
45+
`Get details of a scrape configuration with name "my-config" from Argus instance "xxx" in JSON format`,
46+
"$ stackit argus scrape-config describe my-config --output-format json"),
4747
),
4848
RunE: func(cmd *cobra.Command, args []string) error {
4949
ctx := context.Background()

internal/cmd/dns/record-set/describe/describe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ func NewCmd(p *print.Printer) *cobra.Command {
4343
`Get details of DNS record set with ID "xxx" in zone with ID "yyy"`,
4444
"$ stackit dns record-set describe xxx --zone-id yyy"),
4545
examples.NewExample(
46-
`Get details of DNS record set with ID "xxx" in zone with ID "yyy" in a table format`,
47-
"$ stackit dns record-set describe xxx --zone-id yyy --output-format pretty"),
46+
`Get details of DNS record set with ID "xxx" in zone with ID "yyy" in JSON format`,
47+
"$ stackit dns record-set describe xxx --zone-id yyy --output-format json"),
4848
),
4949
RunE: func(cmd *cobra.Command, args []string) error {
5050
ctx := context.Background()

internal/cmd/dns/zone/describe/describe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ func NewCmd(p *print.Printer) *cobra.Command {
3838
`Get details of a DNS zone with ID "xxx"`,
3939
"$ stackit dns zone describe xxx"),
4040
examples.NewExample(
41-
`Get details of a DNS zone with ID "xxx" in a table format`,
42-
"$ stackit dns zone describe xxx --output-format pretty"),
41+
`Get details of a DNS zone with ID "xxx" in JSON format`,
42+
"$ stackit dns zone describe xxx --output-format json"),
4343
),
4444
RunE: func(cmd *cobra.Command, args []string) error {
4545
ctx := context.Background()

internal/cmd/logme/credentials/describe/describe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ func NewCmd(p *print.Printer) *cobra.Command {
4242
`Get details of credentials with ID "xxx" from instance with ID "yyy"`,
4343
"$ stackit logme credentials describe xxx --instance-id yyy"),
4444
examples.NewExample(
45-
`Get details of credentials with ID "xxx" from instance with ID "yyy" in a table format`,
46-
"$ stackit logme credentials describe xxx --instance-id yyy --output-format pretty"),
45+
`Get details of credentials with ID "xxx" from instance with ID "yyy" in JSON format`,
46+
"$ stackit logme credentials describe xxx --instance-id yyy --output-format json"),
4747
),
4848
RunE: func(cmd *cobra.Command, args []string) error {
4949
ctx := context.Background()

internal/cmd/logme/instance/describe/describe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ func NewCmd(p *print.Printer) *cobra.Command {
4040
`Get details of a LogMe instance with ID "xxx"`,
4141
"$ stackit logme instance describe xxx"),
4242
examples.NewExample(
43-
`Get details of a LogMe instance with ID "xxx" in a table format`,
44-
"$ stackit logme instance describe xxx --output-format pretty"),
43+
`Get details of a LogMe instance with ID "xxx" in JSON format`,
44+
"$ stackit logme instance describe xxx --output-format json"),
4545
),
4646
RunE: func(cmd *cobra.Command, args []string) error {
4747
ctx := context.Background()

internal/cmd/mariadb/credentials/describe/describe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ func NewCmd(p *print.Printer) *cobra.Command {
4242
`Get details of credentials with ID "xxx" from instance with ID "yyy"`,
4343
"$ stackit mariadb credentials describe xxx --instance-id yyy"),
4444
examples.NewExample(
45-
`Get details of credentials with ID "xxx" from instance with ID "yyy" in a table format`,
46-
"$ stackit mariadb credentials describe xxx --instance-id yyy --output-format pretty"),
45+
`Get details of credentials with ID "xxx" from instance with ID "yyy" in JSON format`,
46+
"$ stackit mariadb credentials describe xxx --instance-id yyy --output-format json"),
4747
),
4848
RunE: func(cmd *cobra.Command, args []string) error {
4949
ctx := context.Background()

internal/cmd/mariadb/instance/describe/describe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ func NewCmd(p *print.Printer) *cobra.Command {
4040
`Get details of a MariaDB instance with ID "xxx"`,
4141
"$ stackit mariadb instance describe xxx"),
4242
examples.NewExample(
43-
`Get details of a MariaDB instance with ID "xxx" in a table format`,
44-
"$ stackit mariadb instance describe xxx --output-format pretty"),
43+
`Get details of a MariaDB instance with ID "xxx" in JSON format`,
44+
"$ stackit mariadb instance describe xxx --output-format json"),
4545
),
4646
RunE: func(cmd *cobra.Command, args []string) error {
4747
ctx := context.Background()

internal/cmd/mongodbflex/instance/describe/describe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ func NewCmd(p *print.Printer) *cobra.Command {
4040
`Get details of a MongoDB Flex instance with ID "xxx"`,
4141
"$ stackit mongodbflex instance describe xxx"),
4242
examples.NewExample(
43-
`Get details of a MongoDB Flex instance with ID "xxx" in a table format`,
44-
"$ stackit mongodbflex instance describe xxx --output-format pretty"),
43+
`Get details of a MongoDB Flex instance with ID "xxx" in JSON format`,
44+
"$ stackit mongodbflex instance describe xxx --output-format json"),
4545
),
4646
RunE: func(cmd *cobra.Command, args []string) error {
4747
ctx := context.Background()

0 commit comments

Comments
 (0)