createusers

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: 10 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 user to be created." short:"n" default:"10"`
	MeetingID int `help:"If set, put the user in the delegated group of this meeting." short:"m"`
	Batch     int `help:"Number of users to create with one request. Default is all at once." short:"b"`
}

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