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

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