Fixed missing nodes cmd
This commit is contained in:
parent
c3aa9a5d4c
commit
6c903d4a2f
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init () {
|
func init() {
|
||||||
|
rootCmd.AddCommand(nodeCmd)
|
||||||
nodeCmd.PersistentFlags().StringP("namespace", "n", "", "Namespace")
|
nodeCmd.PersistentFlags().StringP("namespace", "n", "", "Namespace")
|
||||||
err := nodeCmd.MarkPersistentFlagRequired("namespace")
|
err := nodeCmd.MarkPersistentFlagRequired("namespace")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue