cli

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Usage added in v0.0.6

func Usage() string

Types

type Cli

type Cli struct {
	// contains filtered or unexported fields
}

Cli cli interface

func New

func New(cfg *config.Config) *Cli

New creates

func (*Cli) Handle

func (cli *Cli) Handle(args []string) bool

Handle handles the args

func (*Cli) ListUsers

func (cli *Cli) ListUsers(args []string)

ListUsers lists

func (*Cli) SetUser

func (cli *Cli) SetUser(args []string)

SetUser updates or creates the users if not exists

Jump to

Keyboard shortcuts

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