Skip to content

Commit

Permalink
baremetal: Add list server command
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone committed Mar 4, 2020
1 parent f92386e commit add152f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/scw/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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
}

Expand Down
8 changes: 8 additions & 0 deletions internal/namespaces/baremetal/v1alpha1/custom.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package baremetal

import "github.com/scaleway/scaleway-cli/internal/core"

func GetCommands() *core.Commands {
cmds := GetGeneratedCommands()
return cmds
}

0 comments on commit add152f

Please sign in to comment.