github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/swarmkit/cmd/swarmctl/node/cmd.go (about)

     1  package node
     2  
     3  import "github.com/spf13/cobra"
     4  
     5  var (
     6  	// Cmd exposes the top-level node command.
     7  	Cmd = &cobra.Command{
     8  		Use:   "node",
     9  		Short: "Node management",
    10  	}
    11  )
    12  
    13  func init() {
    14  	Cmd.AddCommand(
    15  		activateCmd,
    16  		demoteCmd,
    17  		drainCmd,
    18  		inspectCmd,
    19  		listCmd,
    20  		pauseCmd,
    21  		promoteCmd,
    22  		removeCmd,
    23  		updateCmd,
    24  	)
    25  }