Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Root ¶
type Root struct { *opts.Root Run *RunCmd `command:"run" description:"For running the bot"` Validate *ValidateCmd `command:"validate" description:"For validating configuration"` Simulate *SimulateCmd `command:"simulate" description:"For simulating an incoming message"` }
type SimulateArgs ¶ added in v0.8.0
type SimulateCmd ¶ added in v0.8.0
type SimulateCmd struct { *opts.Root `no-flags:"true"` Timestamp string `long:"timestamp" description:"Timestamp of the message (default: now; format: 2006-01-02T15:04:05Z07:00)"` Args SimulateArgs `positional-args:"true"` }
func (*SimulateCmd) Execute ¶ added in v0.8.0
func (c *SimulateCmd) Execute(_ []string) error
type ValidateCmd ¶
func (*ValidateCmd) Execute ¶
func (c *ValidateCmd) Execute(_ []string) error
Click to show internal directories.
Click to hide internal directories.