Documentation
¶
Index ¶
- func NewAddToken(appName string) *commander.CommandWrapper
- func NewChangePassword(appName string) *commander.CommandWrapper
- func NewDelete(appName string) *commander.CommandWrapper
- func NewGenerate(appName string) *commander.CommandWrapper
- func NewInstant(appName string) *commander.CommandWrapper
- func NewList(appName string) *commander.CommandWrapper
- func NewSearchList(appName string) *commander.CommandWrapper
- func NewUpdate(appName string) *commander.CommandWrapper
- func NewVersion(appName string) *commander.CommandWrapper
- type AddToken
- type ChangePassword
- type Delete
- type Generate
- type Instant
- type List
- type SearchList
- type Update
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddToken ¶
func NewAddToken(appName string) *commander.CommandWrapper
NewAddToken createa new AddToken command.
func NewChangePassword ¶
func NewChangePassword(appName string) *commander.CommandWrapper
NewChangePassword create a new ChangePassword command.
func NewDelete ¶
func NewDelete(appName string) *commander.CommandWrapper
NewDelete create a new Delete command.
func NewGenerate ¶
func NewGenerate(appName string) *commander.CommandWrapper
NewGenerate creates a new Generate command.
func NewInstant ¶
func NewInstant(appName string) *commander.CommandWrapper
NewInstant creates a new Instant command.
func NewList ¶
func NewList(appName string) *commander.CommandWrapper
NewList creates a new List command.
func NewSearchList ¶
func NewSearchList(appName string) *commander.CommandWrapper
NewList creates a new List command.
func NewUpdate ¶
func NewUpdate(appName string) *commander.CommandWrapper
NewUpdate creates a new Update command.
func NewVersion ¶
func NewVersion(appName string) *commander.CommandWrapper
NewVersion creates a new Version command.
Types ¶
type AddToken ¶
type AddToken struct {
}
AddToken structure is the representation of the add-token command.
func (*AddToken) ArgumentDescription ¶
ArgumentDescription descripts the required and potential arguments.
func (*AddToken) Description ¶
Description will be displayed as Description (woooo) in the general help.
func (*AddToken) Examples ¶
Examples lists a few example as array. Will be used in the command specific help.
func (*AddToken) Execute ¶
func (c *AddToken) Execute(opts *commander.CommandHelper)
Execute is the main function. It will be called on add-token command.
type ChangePassword ¶
type ChangePassword struct {
}
ChangePassword structure is the representation of the change-password command.
func (*ChangePassword) Execute ¶
func (c *ChangePassword) Execute(opts *commander.CommandHelper)
Execute is the main function. It will be called on change-password command.
type Delete ¶
type Delete struct {
}
Delete structure is the representation of the delete command.
func (*Delete) Execute ¶
func (c *Delete) Execute(opts *commander.CommandHelper)
Execute is the main function. It will be called on delete command.
type Generate ¶
type Generate struct {
}
Generate structure is the representation of the generate command.
func (*Generate) Execute ¶
func (c *Generate) Execute(opts *commander.CommandHelper)
Execute is the main function. It will be called on generate command.
type Instant ¶
type Instant struct {
}
Instant structure is the representation of the instant command.
func (*Instant) Execute ¶
func (c *Instant) Execute(opts *commander.CommandHelper)
Execute is the main function. It will be called on instant command.
type List ¶
type List struct {
}
List structure is the representation of the list command.
func (*List) Execute ¶
func (c *List) Execute(opts *commander.CommandHelper)
Execute is the main function. It will be called on list command.
type SearchList ¶
type SearchList struct {
}
List structure is the representation of the list command.
func (*SearchList) Execute ¶
func (c *SearchList) Execute(opts *commander.CommandHelper)
Execute is the main function. It will be called on list command.