Documentation ¶
Index ¶
- Variables
- func CacheDir() string
- func Exec(command string, args []string) (string, error)
- func Exists(path string) (bool, error)
- func FileWalk(root string, walkFn func(r io.Reader, path string) error) error
- func IsCommandAvailable(name string) bool
- func IsInt(s string) bool
- func MustTimeParse(value string) *time.Time
- func StringInSlice(a string, list []string) bool
- func Uniq(strings []string) []string
- type ProgressBar
- type Spinner
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Quiet = false
)
Functions ¶
func IsCommandAvailable ¶
func MustTimeParse ¶
func StringInSlice ¶
Types ¶
type ProgressBar ¶
type ProgressBar struct {
// contains filtered or unexported fields
}
TODO: Expose an interface for progressbar
func PbStartNew ¶
func PbStartNew(total int) *ProgressBar
func (*ProgressBar) Finish ¶
func (p *ProgressBar) Finish()
func (*ProgressBar) Increment ¶
func (p *ProgressBar) Increment()
Click to show internal directories.
Click to hide internal directories.