@@ -14,6 +14,7 @@ import (
1414 "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/kubernetes/nodegroup"
1515 "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/loadbalancer"
1616 "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/network"
17+ "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/networkpeering"
1718 "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/objectstorage"
1819 "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/root"
1920 "github.com/UpCloudLtd/upcloud-cli/v3/internal/commands/router"
@@ -94,6 +95,12 @@ func BuildCommands(rootCmd *cobra.Command, conf *config.Config) {
9495 commands .BuildCommand (network .ModifyCommand (), networkCommand .Cobra (), conf )
9596 commands .BuildCommand (network .DeleteCommand (), networkCommand .Cobra (), conf )
9697
98+ // Network peerings
99+ networkPeeringCommand := commands .BuildCommand (networkpeering .BaseNetworkPeeringCommand (), rootCmd , conf )
100+ commands .BuildCommand (networkpeering .ListCommand (), networkPeeringCommand .Cobra (), conf )
101+ commands .BuildCommand (networkpeering .DeleteCommand (), networkPeeringCommand .Cobra (), conf )
102+ commands .BuildCommand (networkpeering .DisableCommand (), networkPeeringCommand .Cobra (), conf )
103+
97104 // Routers
98105 routerCommand := commands .BuildCommand (router .BaseRouterCommand (), rootCmd , conf )
99106 commands .BuildCommand (router .CreateCommand (), routerCommand .Cobra (), conf )
@@ -191,7 +198,7 @@ func BuildCommands(rootCmd *cobra.Command, conf *config.Config) {
191198 commands .BuildCommand (objectstorage .ShowCommand (), objectStorageCommand .Cobra (), conf )
192199
193200 // Network Gateway operations
194- gatewayCommand := commands .BuildCommand (gateway .BasegatewayCommand (), rootCmd , conf )
201+ gatewayCommand := commands .BuildCommand (gateway .BaseGatewayCommand (), rootCmd , conf )
195202 commands .BuildCommand (gateway .DeleteCommand (), gatewayCommand .Cobra (), conf )
196203 commands .BuildCommand (gateway .ListCommand (), gatewayCommand .Cobra (), conf )
197204
0 commit comments