pkg

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Spinner01 spinnerTyp = iota + 1
)

Variables

View Source
var OpenBrowser = browser.OpenURL

Functions

func Run

func Run(cmd string) error

Run .

func RunOutput

func RunOutput(cmd string, rw io.ReadWriter) error

RunOutput .

Types

type ISpinner added in v1.6.8

type ISpinner interface {
	// Start spin
	Start()
	// Stop spin
	Stop()
}

ISpinner spinner interface to allow more than one of implementations.

func NewSpinner added in v1.6.8

func NewSpinner(typ spinnerTyp) ISpinner

Jump to

Keyboard shortcuts

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