cmd

package
v0.0.0-...-3d4d46e Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Spinner

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

Spinner defines a terminal spinner

func NewSpinner

func NewSpinner(closeChannel chan bool) *Spinner

NewSpinner creates a new spinner

func (*Spinner) Run

func (s *Spinner) Run()

Run starts the spinner

func (*Spinner) Tick

func (s *Spinner) Tick()

Tick executes every x milliseconds

Jump to

Keyboard shortcuts

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