Documentation ¶
Index ¶
- Variables
- func BaseNoExt(path string) string
- func Clamp(x, min, max int) int
- func CustomizeSlog(filename string)
- func Homify(p string, home string) string
- func ParseIntOr(x string, or int) int
- func Tildify(p string) string
- func Unhomify(path string, home string) string
- func Untildify(path string) string
- type CommandResult
- func Bash(statement string) (*CommandResult, error)
- func Bashf(format string, args ...any) (*CommandResult, error)
- func Exec(statement string) (*CommandResult, error)
- func ExecWithStdin(statement string, stdinText string) (*CommandResult, error)
- func Execf(format string, args ...any) (*CommandResult, error)
- type TeeWriter
Constants ¶
This section is empty.
Variables ¶
View Source
var HOME string
HOME is user's home dir
Functions ¶
func ParseIntOr ¶
Types ¶
type CommandResult ¶
func Bash ¶
func Bash(statement string) (*CommandResult, error)
func Exec ¶
func Exec(statement string) (*CommandResult, error)
func ExecWithStdin ¶
func ExecWithStdin(statement string, stdinText string) (*CommandResult, error)
Click to show internal directories.
Click to hide internal directories.