Skip to content

Commit 325f5a1

Browse files
authored
fix(dedibox): set default value project-id (#3916)
1 parent 70de097 commit 325f5a1

25 files changed

+126
-90
lines changed

cmd/scw/testdata/test-all-usage-dedibox-billing-list-invoice-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ USAGE:
66
scw dedibox billing list-invoice [arg=value ...]
77

88
ARGS:
9-
[order-by] (created_at_asc | created_at_desc)
10-
[project-id]
9+
[order-by] (created_at_asc | created_at_desc)
10+
[project-id=<retrieved from config>]
1111

1212
FLAGS:
1313
-h, --help help for list-invoice

cmd/scw/testdata/test-all-usage-dedibox-billing-list-refund-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ USAGE:
66
scw dedibox billing list-refund [arg=value ...]
77

88
ARGS:
9-
[order-by] (created_at_asc | created_at_desc)
10-
[project-id]
9+
[order-by] (created_at_asc | created_at_desc)
10+
[project-id=<retrieved from config>]
1111

1212
FLAGS:
1313
-h, --help help for list-refund

cmd/scw/testdata/test-all-usage-dedibox-fip-get-quota-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ USAGE:
66
scw dedibox fip get-quota [arg=value ...]
77

88
ARGS:
9-
[project-id] Project ID
10-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1)
9+
[project-id=<retrieved from config>] Project ID
10+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1)
1111

1212
FLAGS:
1313
-h, --help help for get-quota

cmd/scw/testdata/test-all-usage-dedibox-fip-list-usage.golden

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ USAGE:
66
scw dedibox fip list [arg=value ...]
77

88
ARGS:
9-
[order-by] Order of the failovers IP (ip_asc | ip_desc)
10-
project-id Filter failovers IP by project ID
11-
[search] Filter failovers IP which matching with this field
12-
[only-available] True: return all failovers IP not attached on server
13-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | all)
9+
[order-by] Order of the failovers IP (ip_asc | ip_desc)
10+
project-id=<retrieved from config> Filter failovers IP by project ID
11+
[search] Filter failovers IP which matching with this field
12+
[only-available] True: return all failovers IP not attached on server
13+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | all)
1414

1515
FLAGS:
1616
-h, --help help for list

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USAGE:
66
scw dedibox ipv6-block create [arg=value ...]
77

88
ARGS:
9-
[project-id] ID of the project
9+
[project-id=<retrieved from config>] ID of the project
1010

1111
FLAGS:
1212
-h, --help help for create

cmd/scw/testdata/test-all-usage-dedibox-ipv6-block-get-quota-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ USAGE:
99
scw dedibox ipv6-block get-quota [arg=value ...]
1010

1111
ARGS:
12-
[project-id] ID of the project
12+
[project-id=<retrieved from config>] ID of the project
1313

1414
FLAGS:
1515
-h, --help help for get-quota

cmd/scw/testdata/test-all-usage-dedibox-ipv6-block-get-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USAGE:
66
scw dedibox ipv6-block get [arg=value ...]
77

88
ARGS:
9-
[project-id] ID of the project
9+
[project-id=<retrieved from config>] ID of the project
1010

1111
FLAGS:
1212
-h, --help help for get

cmd/scw/testdata/test-all-usage-dedibox-offer-get-usage.golden

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ USAGE:
66
scw dedibox offer get [arg=value ...]
77

88
ARGS:
9-
offer-id ID of offer
10-
[project-id] Project ID
11-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1)
9+
offer-id ID of offer
10+
[project-id=<retrieved from config>] Project ID
11+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1)
1212

1313
FLAGS:
1414
-h, --help help for get

cmd/scw/testdata/test-all-usage-dedibox-offer-list-usage.golden

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ USAGE:
66
scw dedibox offer list [arg=value ...]
77

88
ARGS:
9-
[order-by] Order of the offers (created_at_asc | created_at_desc | name_asc | name_desc | price_asc | price_desc)
10-
[commercial-range] Filter on commercial range
11-
[catalog] Filter on catalog (all | default | beta | reseller | premium | volume | admin | inactive)
12-
[project-id] Project ID
13-
[is-failover-ip] Get the current failover IP offer
14-
[is-failover-block] Get the current failover IP block offer
15-
[sold-in] Filter offers depending on their datacenter
16-
[available-only] Set this filter to true to only return available offers
17-
[is-rpn-san] Get the RPN SAN offers
18-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | all)
9+
[order-by] Order of the offers (created_at_asc | created_at_desc | name_asc | name_desc | price_asc | price_desc)
10+
[commercial-range] Filter on commercial range
11+
[catalog] Filter on catalog (all | default | beta | reseller | premium | volume | admin | inactive)
12+
[project-id=<retrieved from config>] Project ID
13+
[is-failover-ip] Get the current failover IP offer
14+
[is-failover-block] Get the current failover IP block offer
15+
[sold-in] Filter offers depending on their datacenter
16+
[available-only] Set this filter to true to only return available offers
17+
[is-rpn-san] Get the RPN SAN offers
18+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | all)
1919

2020
FLAGS:
2121
-h, --help help for list

cmd/scw/testdata/test-all-usage-dedibox-os-get-usage.golden

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ USAGE:
66
scw dedibox os get [arg=value ...]
77

88
ARGS:
9-
os-id ID of the OS
10-
[server-id] ID of the server
11-
[project-id] Project ID
12-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1)
9+
os-id ID of the OS
10+
[server-id] ID of the server
11+
[project-id=<retrieved from config>] Project ID
12+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1)
1313

1414
FLAGS:
1515
-h, --help help for get

0 commit comments

Comments
 (0)