Documentation
¶
Index ¶
- func New() implementation.Command
- type Command
- func (c *Command) GetDescription() (string, bool)
- func (c *Command) GetHelp() (string, bool)
- func (c *Command) GetName() string
- func (c *Command) GetParentName() string
- func (c *Command) IsAdminOnly() bool
- func (c *Command) Run(ctx context.Context, a implementation.CommandArgs) []implementation.CommandResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() implementation.Command
Types ¶
type Command ¶
type Command struct{}
func (*Command) GetDescription ¶
func (*Command) GetParentName ¶
func (*Command) IsAdminOnly ¶ added in v0.3.1
func (*Command) Run ¶
func (c *Command) Run(ctx context.Context, a implementation.CommandArgs) []implementation.CommandResponse
Click to show internal directories.
Click to hide internal directories.