Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteCmd ¶
NewDeleteCmd return the instance of delete subcommand
Types ¶
type AddCmd ¶
AddCmd struct represents Add command object
func (*AddCmd) ApplyFlags ¶
func (cmd *AddCmd) ApplyFlags()
ApplyFlags apply command flags to cobra command
type DeleteCmd ¶
type DeleteCmd struct { Command *cobra.Command Flags *DeleteFlags }
DeleteCmd struct represents Delete command object
func (*DeleteCmd) ApplyFlags ¶
func (cmd *DeleteCmd) ApplyFlags()
ApplyFlags apply command flags to cobra command
type DeleteFlags ¶
type DeleteFlags struct {
URL string
}
DeleteFlags contains all Delete command flags
func NewDeleteFlags ¶
func NewDeleteFlags() *DeleteFlags
NewDeleteFlags initialize a new DeleteFlags object
type ListCmd ¶
ListCmd struct represents the list command object
func (*ListCmd) ApplyFlags ¶
func (cmd *ListCmd) ApplyFlags()
ApplyFlags apply ListFlags to provided command
Click to show internal directories.
Click to hide internal directories.