work

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Amount int `help:"Amount of action to be called." short:"n" default:"10"`

	MeetingID int    `help:"Meeting id to use." short:"m" default:"1"`
	Strategy  string `help:"Strategy for the background tasks." short:"s" default:"topic-done" enum:"topic-done,motion-state"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL