Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &command.Command{ Name: _CmdName, Cobra: &cobra.Command{ Use: _CmdName, Aliases: []string{"rm", "del", "delete"}, TraverseChildren: true, Short: "remove a port from a VPC switch", SilenceUsage: true, Args: cobra.NoArgs, PreRunE: func(cmd *cobra.Command, args []string) error { return nil }, RunE: runE, }, Setup: func(self *command.Command) error { if err := flag.AddPortID(self, _KeyPortID, true); err != nil { return errors.Wrap(err, "unable to register Port ID flag on VPC Switch Port remove") } if err := flag.AddSwitchID(self, _KeySwitchID, false); err != nil { return errors.Wrap(err, "unable to register Switch ID flag for VPC Switch Port add") } return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.