Documentation
¶
Index ¶
- func AskUserYesNoQuestion(question string) bool
- func ChWorkdir(args []string) (string, func(), error)
- func Chdir(dir string) error
- func CountLeadingSpaces(line string) int
- func MustGetwd() string
- func ReadFile(filename string) ([]byte, error)
- func ReadYaml(filename string, cfg interface{}) error
- func WriteStringToFile(filename string, text string) error
- type CommandRunner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskUserYesNoQuestion ¶
AskUserYesNoQuestion ask a question and wait for user input.
func CountLeadingSpaces ¶
func WriteStringToFile ¶
Types ¶
type CommandRunner ¶ added in v0.1.1
type CommandRunner struct {
Dir string
}
func NewCommandRunner ¶ added in v0.1.1
func NewCommandRunner(dir string) *CommandRunner
Click to show internal directories.
Click to hide internal directories.