Documentation
¶
Index ¶
- func DoesItemExist(item string) bool
- func ErrorIsFile404(err error) bool
- func FormatCommandInfo(info []CommandInfo, indentFlags bool) string
- func GetFrontierVersion() (string, error)
- func GetHomeDir() (string, error)
- func ReadFile(fileName string) (string, error)
- func ReadNonemptyLine(msg, msgWhenEmpty string) string
- func Readline(msg string) string
- func RunCommand(command string, args ...string) (string, string, error)
- func WriteFile(filename string, data string) error
- type CommandInfo
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoesItemExist ¶
func ErrorIsFile404 ¶
func FormatCommandInfo ¶
func FormatCommandInfo(info []CommandInfo, indentFlags bool) string
func GetFrontierVersion ¶
func GetHomeDir ¶
func ReadNonemptyLine ¶
Types ¶
type CommandInfo ¶
type CommandInfo struct {
// contains filtered or unexported fields
}
func NewCommandInfo ¶
func NewCommandInfo(short, long, desc string) CommandInfo
func (CommandInfo) Fmt ¶
func (ci CommandInfo) Fmt(indent int) string
func (CommandInfo) FmtFlags ¶
func (ci CommandInfo) FmtFlags() string
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
func CheckForFrontierUpdate ¶
func NewVersion ¶
Click to show internal directories.
Click to hide internal directories.