Documentation
¶
Overview ¶
Package user implements `admin user` subcommands.
Package user is the `admin user` subcommand tree.
Index ¶
- func NewCmdUser(f *factory.Factory) *cobra.Command
- func NewCmdUserActivate(f *factory.Factory, runF func(*ActivateOptions) error) *cobra.Command
- func NewCmdUserDeactivate(f *factory.Factory, runF func(*DeactivateOptions) error) *cobra.Command
- func NewCmdUserList(f *factory.Factory, runF func(*ListOptions) error) *cobra.Command
- func NewCmdUserRename(f *factory.Factory, runF func(*RenameOptions) error) *cobra.Command
- type ActivateOptions
- type DeactivateOptions
- type ListOptions
- type RenameOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdUser ¶
NewCmdUser builds the `admin user` command tree.
func NewCmdUserActivate ¶
NewCmdUserActivate builds the `admin user activate` cobra command.
func NewCmdUserDeactivate ¶
NewCmdUserDeactivate builds the `admin user deactivate` cobra command.
func NewCmdUserList ¶
NewCmdUserList builds the `admin user list` cobra command.
func NewCmdUserRename ¶
NewCmdUserRename builds the `admin user rename` cobra command.
Types ¶
type ActivateOptions ¶
ActivateOptions holds parsed flags for `admin user activate`.
type DeactivateOptions ¶
DeactivateOptions holds parsed flags for `admin user deactivate`.
type ListOptions ¶
ListOptions holds parsed flags for `admin user list`.
type RenameOptions ¶
RenameOptions holds parsed flags for `admin user rename`.
Click to show internal directories.
Click to hide internal directories.