Documentation
¶
Overview ¶
Package command implements the command ruleset type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rule ¶
type Rule struct {
Define string
Help string
Handler func(types.Context, []*parser.Token) types.MsgPayload
}
func (Rule) FormatHelpLine ¶ added in v0.99.0
FormatHelpLine formats a single command help entry for MarkdownMsg.
func (Rule) TYPE ¶ added in v0.30.1
func (Rule) TYPE() types.RulesetType
Click to show internal directories.
Click to hide internal directories.