Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateUserCommand ¶
CreateUserCommand is the command line data structure for the create action of user
func (*CreateUserCommand) RegisterFlags ¶
func (cmd *CreateUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type DownloadCommand ¶
type DownloadCommand struct {
// OutFile is the path to the download output file.
OutFile string
}
DownloadCommand is the command line data structure for the download command.
type IndexUserCommand ¶
type IndexUserCommand struct {
PrettyPrint bool
}
IndexUserCommand is the command line data structure for the index action of user
func (*IndexUserCommand) RegisterFlags ¶
func (cmd *IndexUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowBottleCommand ¶
ShowBottleCommand is the command line data structure for the show action of bottle
func (*ShowBottleCommand) RegisterFlags ¶
func (cmd *ShowBottleCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ShowUserCommand ¶
ShowUserCommand is the command line data structure for the show action of user
func (*ShowUserCommand) RegisterFlags ¶
func (cmd *ShowUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type UpdateUserCommand ¶
type UpdateUserCommand struct {
Payload string
ContentType string
// User ID
UserID int
PrettyPrint bool
}
UpdateUserCommand is the command line data structure for the update action of user
func (*UpdateUserCommand) RegisterFlags ¶
func (cmd *UpdateUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.