Documentation
¶
Index ¶
Constants ¶
View Source
const DetachedFlag = "detached"
View Source
const DetachedShortFlag = "d"
View Source
const LinuxManPath = "/usr/share/man/man1/"
Variables ¶
This section is empty.
Functions ¶
func QuitToStdErr ¶
func QuitToStdErr(msg interface{})
QuitToStdErr prints an error on stderr and closes
func ReadFromTerminalYN ¶
ReadFromTerminalYN read terminal user input from a Yes No dialog. It returns y and n only with an explicit Yy or Nn input. If no input is submitted it returns default value. If the input is different from the expected one empty string is returned.
Types ¶
type Options ¶
type Options struct {
CfgFn string
}
Options cmd options
func (*Options) InitConfig ¶
InitConfig initializes config
type PasswordReader ¶
var DefaultPasswordReader PasswordReader = new(stdinPasswordReader)
Click to show internal directories.
Click to hide internal directories.