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

     1  package task
     2  
     3  import "github.com/spf13/cobra"
     4  
     5  var (
     6  	// Cmd exposes the top-level task command.
     7  	Cmd = &cobra.Command{
     8  		Use:   "task",
     9  		Short: "Task management",
    10  	}
    11  )
    12  
    13  func init() {
    14  	Cmd.AddCommand(
    15  		listCmd,
    16  		inspectCmd,
    17  		removeCmd,
    18  	)
    19  }