diff --git a/cmd/scw/main.go b/cmd/scw/main.go index 55351da2e9..0768318ea3 100644 --- a/cmd/scw/main.go +++ b/cmd/scw/main.go @@ -14,6 +14,7 @@ import ( "github.com/scaleway/scaleway-cli/internal/namespaces/marketplace/v1" versionNamespace "github.com/scaleway/scaleway-cli/internal/namespaces/version" "github.com/scaleway/scaleway-cli/internal/sentry" + "github.com/scaleway/scaleway-cli/internal/namespaces/baremetal/v1alpha1" ) var ( @@ -43,6 +44,7 @@ func getCommands() *core.Commands { commands.Merge(configNamespace.GetCommands()) commands.Merge(autocompleteNamespace.GetCommands()) commands.Merge(versionNamespace.GetCommands()) + commands.Merge(baremetal.GetCommands()) return commands } diff --git a/internal/namespaces/baremetal/v1alpha1/custom.go b/internal/namespaces/baremetal/v1alpha1/custom.go new file mode 100644 index 0000000000..e081d88046 --- /dev/null +++ b/internal/namespaces/baremetal/v1alpha1/custom.go @@ -0,0 +1,8 @@ +package baremetal + +import "github.com/scaleway/scaleway-cli/internal/core" + +func GetCommands() *core.Commands { + cmds := GetGeneratedCommands() + return cmds +}