Documentation ¶
Overview ¶
Package subpresets contains some presets and premade 'default' subcommands for DRC 0.X These can be added to the handler.Config.DefaultSubcommands array where they'll be automatically added to all commands at init time They can also be excluded from being added from certain commands via Command.SubcommandToggle
Note these commands are designed to be used as subcommands, see the other presets package for root level commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
var SubcommandSimpleHelp = drc.Command{ Name: "help", Manual: []string{"The default implementation of a simple subcommand help command, takes up to one argument and outputs that page of the parent commands documentation", "that moment when you read the help on a help command", "egg", "E"}, Config: drc.CfgCommand{ Listable: false, }, Exec: simpleHelp, }
SubcommandSimpleHelp is a default implementation of a help subcommand It takes up to 1 argument and outputs that page of the parent commands manual Note this is only for use as a subcommand, this won't work on the root level, use the preset package for those
Functions ¶
This section is empty.
Types ¶
This section is empty.