Skip to content

Commit bb7e74d

Browse files
feat: update generated cli (#2418)
Co-authored-by: Rémy Léone <[email protected]>
1 parent d95f770 commit bb7e74d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

cmd/scw/testdata/test-all-usage-vpc-gw-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ AVAILABLE COMMANDS:
1010
dhcp-entry DHCP entries management
1111
gateway VPC Public Gateway management
1212
gateway-network Gateway Networks management
13-
gateway-type
13+
gateway-type Gateway types information
1414
ip IP address management
1515
pat-rule PAT rules management
1616

docs/commands/vpc-gw.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ VPC Public Gateway API
2828
- [Get a gateway connection to a Private Network](#get-a-gateway-connection-to-a-private-network)
2929
- [List gateway connections to Private Networks](#list-gateway-connections-to-private-networks)
3030
- [Update a gateway connection to a Private Network](#update-a-gateway-connection-to-a-private-network)
31-
- [](#)
31+
- [Gateway types information](#gateway-types-information)
3232
- [List VPC Public Gateway types](#list-vpc-public-gateway-types)
3333
- [IP address management](#ip-address-management)
3434
- [Reserve an IP](#reserve-an-ip)
@@ -593,7 +593,7 @@ scw vpc-gw gateway-network update <gateway-network-id ...> [arg=value ...]
593593

594594

595595

596-
##
596+
## Gateway types information
597597

598598
Gateways come in multiple shapes and size, which are described by the various gateway types.
599599

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/kubernetes-client/go-base v0.0.0-20190205182333-3d0e39759d98
1818
github.com/mattn/go-colorable v0.1.12
1919
github.com/mattn/go-isatty v0.0.14
20-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220707171016-83f8b0bacb31
20+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220708102133-f9d332768853
2121
github.com/spf13/cobra v1.5.0
2222
github.com/spf13/pflag v1.0.5
2323
github.com/stretchr/testify v1.8.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
5757
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
5858
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5959
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
60-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220707171016-83f8b0bacb31 h1:xiYJc7OR9OrGHCT6Bluvr7hKz3Tc7AQK4iAuFlvMeOM=
61-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220707171016-83f8b0bacb31/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
60+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220708102133-f9d332768853 h1:EwqDLsR1GAxlt52CdaIwK4tnrODPMjVNg0cHzV/jfJ4=
61+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9.0.20220708102133-f9d332768853/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
6262
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
6363
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
6464
github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU=

internal/namespaces/vpcgw/v1/vpcgw_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func vpcGwIP() *core.Command {
133133

134134
func vpcGwGatewayType() *core.Command {
135135
return &core.Command{
136-
Short: ``,
136+
Short: `Gateway types information`,
137137
Long: `Gateways come in multiple shapes and size, which are described by the various gateway types.
138138
`,
139139
Namespace: "vpc-gw",

0 commit comments

Comments
 (0)