Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct {
*Base
}
Command the basic command
func (*Command) GetExample ¶
GetExample return the how to use of this command
type Download ¶
type Download struct {
*Base
}
Download to download files
func (*Download) GetExample ¶
GetExample return the how to use of this command
type Downloader ¶
type Downloader struct {
*Base
}
Downloader to download files
func (*Downloader) GetExample ¶
func (d *Downloader) GetExample() string
GetExample return the how to use of this command
func (*Downloader) IsInline ¶
func (d *Downloader) IsInline() bool
IsInline return if command is /command somethingelse
type ListCommands ¶
type ListCommands struct {
*Base
}
ListCommands run on help
func (*ListCommands) GetExample ¶
func (l *ListCommands) GetExample() string
GetExample return the how to use of this command
func (*ListCommands) IsInline ¶
func (l *ListCommands) IsInline() bool
IsInline return if command is /command somethingelse
func (*ListCommands) Setup ¶
func (l *ListCommands) Setup() (commands []string, descriptions []string)
Setup where u set the commands
Click to show internal directories.
Click to hide internal directories.