internal

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ago

func Ago(t time.Time) string

func Debug

func Debug(v interface{})

func DefaultStr

func DefaultStr(str ...string) string

func FileExists

func FileExists(filename string) bool

func GetColor

func GetColor(i int) aurora.Color

func NewRunGroup

func NewRunGroup(ctx context.Context, scripts []Script) *runGroup

func WatchAndRepeat

func WatchAndRepeat(dir string, cb func(e, p string))

Types

type Script

type Script interface {
	Dir() string
	Env() []string
	Name() string
	Run() string
	Shell() string
	Prefix() string
}

Jump to

Keyboard shortcuts

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