cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCmd

func NewRootCmd(v *viper.Viper, fs afero.Fs) *cobrax.Command

Types

type Tasks added in v1.1.0

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

Tasks shows status of registered tasks.

func NewTasks added in v1.1.0

func NewTasks(names []string, opts ...spinner.Option) Tasks

func (*Tasks) Close added in v1.1.0

func (t *Tasks) Close()

Close stops all active tasks

func (*Tasks) Error added in v1.1.0

func (t *Tasks) Error()

Error stops the current task

func (*Tasks) Next added in v1.1.0

func (t *Tasks) Next()

Next stops the current task and starts the next task

func (*Tasks) Skip added in v1.1.0

func (t *Tasks) Skip()

func (*Tasks) Start added in v1.1.0

func (t *Tasks) Start()

Start starts the first task

Jump to

Keyboard shortcuts

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