Documentation ¶ Index ¶ type Options func (o Options) Help() string func (o Options) Run(ctx context.Context, cfg config.Config) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Options ¶ type Options struct { Action string `arg:"" help:"Name of the action."` Amount int `help:"Amount of action to be called." short:"n" default:"10"` Content string `arg:"" help:"content of the action."` } Options is the meta information for the cli. func (Options) Help ¶ func (o Options) Help() string Help returns the help message func (Options) Run ¶ func (o Options) Run(ctx context.Context, cfg config.Config) error Run runs the command. Source Files ¶ View all Source files action.go options.go Click to show internal directories. Click to hide internal directories.