cmd

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 11 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) *cobra.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