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

     1  package service
     2  
     3  import "github.com/spf13/cobra"
     4  
     5  var (
     6  	// Cmd exposes the top-level service command.
     7  	Cmd = &cobra.Command{
     8  		Use:     "service",
     9  		Aliases: []string{"svc"},
    10  		Short:   "Service management",
    11  	}
    12  )
    13  
    14  func init() {
    15  	Cmd.AddCommand(
    16  		inspectCmd,
    17  		listCmd,
    18  		createCmd,
    19  		updateCmd,
    20  		removeCmd,
    21  		logsCmd,
    22  	)
    23  }