Documentation ¶
Index ¶
- func RegisterCommands(app *cobra.Command, c *client.Client)
- type CreateUserCommand
- type DownloadCommand
- type FindByEmailUserCommand
- type FindUserCommand
- type FindUsersUserCommand
- type ForgotPasswordUpdateUserCommand
- type ForgotPasswordUserCommand
- type GetAllUserCommand
- type GetMeUserCommand
- type GetUserCommand
- type ResetVerificationTokenUserCommand
- type UpdateUserCommand
- type VerifyUserCommand
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 FindByEmailUserCommand ¶
FindByEmailUserCommand is the command line data structure for the findByEmail action of user
func (*FindByEmailUserCommand) RegisterFlags ¶
func (cmd *FindByEmailUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type FindUserCommand ¶
FindUserCommand is the command line data structure for the find action of user
func (*FindUserCommand) RegisterFlags ¶
func (cmd *FindUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type FindUsersUserCommand ¶
FindUsersUserCommand is the command line data structure for the findUsers action of user
func (*FindUsersUserCommand) RegisterFlags ¶
func (cmd *FindUsersUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ForgotPasswordUpdateUserCommand ¶
ForgotPasswordUpdateUserCommand is the command line data structure for the forgotPasswordUpdate action of user
func (*ForgotPasswordUpdateUserCommand) RegisterFlags ¶
func (cmd *ForgotPasswordUpdateUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ForgotPasswordUserCommand ¶
ForgotPasswordUserCommand is the command line data structure for the forgotPassword action of user
func (*ForgotPasswordUserCommand) RegisterFlags ¶
func (cmd *ForgotPasswordUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetAllUserCommand ¶
type GetAllUserCommand struct { // Limit users per page Limit int // Number of users to skip Offset int // Order by Order string Sorting string PrettyPrint bool }
GetAllUserCommand is the command line data structure for the getAll action of user
func (*GetAllUserCommand) RegisterFlags ¶
func (cmd *GetAllUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetMeUserCommand ¶
type GetMeUserCommand struct {
PrettyPrint bool
}
GetMeUserCommand is the command line data structure for the getMe action of user
func (*GetMeUserCommand) RegisterFlags ¶
func (cmd *GetMeUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type GetUserCommand ¶
GetUserCommand is the command line data structure for the get action of user
func (*GetUserCommand) RegisterFlags ¶
func (cmd *GetUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.
type ResetVerificationTokenUserCommand ¶
type ResetVerificationTokenUserCommand struct { Payload string ContentType string PrettyPrint bool }
ResetVerificationTokenUserCommand is the command line data structure for the resetVerificationToken action of user
func (*ResetVerificationTokenUserCommand) RegisterFlags ¶
func (cmd *ResetVerificationTokenUserCommand) 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 string 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.
type VerifyUserCommand ¶
VerifyUserCommand is the command line data structure for the verify action of user
func (*VerifyUserCommand) RegisterFlags ¶
func (cmd *VerifyUserCommand) RegisterFlags(cc *cobra.Command, c *client.Client)
RegisterFlags registers the command flags with the command line.