Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &command.Command{ Cobra: &cobra.Command{ Use: "accesskeys", Aliases: []string{"accesskey"}, Short: "List and manage Triton Access Keys.", }, Setup: func(parent *command.Command) error { cmds := []*command.Command{ list.Cmd, get.Cmd, accessKeyDelete.Cmd, create.Cmd, } for _, cmd := range cmds { cmd.Setup(cmd) parent.Cobra.AddCommand(cmd.Cobra) } { const ( key = config.KeyAccessKeyID longName = "accesskeyid" defaultValue = "" description = "Access Key Identifier" ) flags := parent.Cobra.PersistentFlags() flags.String(longName, defaultValue, description) viper.BindPFlag(key, flags.Lookup(longName)) } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.