Documentation
¶
Index ¶
- func Expand(path string) string
- func FileExists(file string) bool
- func Must(err error)
- func Run(args ...string) error
- func RunIn(path string, args ...string) error
- func RunInS(path, command string) error
- func RunS(command string) error
- func SetupLogging(level string)
- func SuRun(args ...string) error
- func SuRunIn(path string, args ...string) error
- func SuRunInS(path, command string) error
- func SuRunS(command string) error
- func UserName() string
- type StringFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupLogging ¶
func SetupLogging(level string)
Set logging up, valid levels are: Trace, Debug, Info, Warn, Error, Fatal, Panic
Types ¶
type StringFlags ¶
type StringFlags []string
A helper from collecting string flags into an array
func (*StringFlags) Set ¶
func (sf *StringFlags) Set(value string) error
func (*StringFlags) String ¶
func (sf *StringFlags) String() string
Click to show internal directories.
Click to hide internal directories.