command

package
v1.1.10-0...-9a24f55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2021 License: MIT Imports: 22 Imported by: 0

Documentation

Index

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

func (c *AddToken) ArgumentDescription() string

ArgumentDescription descripts the required and potential arguments.

func (*AddToken) Description

func (c *AddToken) Description() string

Description will be displayed as Description (woooo) in the general help.

func (*AddToken) Examples

func (c *AddToken) Examples() []string

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.

func (*AddToken) Help

func (c *AddToken) Help() string

Help is a general (human readable) command specific (long) help.

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.

type Update

type Update struct {
}

Update structure is the representation of the update command.

func (*Update) Execute

func (c *Update) Execute(opts *commander.CommandHelper)

Execute is the main function. It will be called on update command.

type Version

type Version struct {
}

Version structure is the representation of the Version command.

func (*Version) Execute

func (c *Version) Execute(opts *commander.CommandHelper)

Execute is the main function. It will be called on version command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL