Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugProgArg = ProgArg{ Name: "Debug", Short: "d", Long: "debug", Help: "Enabled Debug output", Func: func() { global.Dbg = true Dbg("Debug output enabled") }, }
View Source
var HelpProgArg = ProgArg{
Name: "Help",
Short: "h",
Long: "help",
Func: help,
}
View Source
var Logo = cfmt.Sprint(`
________ _______ ___ ___ ________ ___ ___ _______
|\ ___ \|\ ___ \ |\ \ / /|\ _____\\ \|\ \ |\ ___ \
\ \ \_|\ \ \ __/|\ \ \ / / | \ \__/\ \ \ \ \ \ \ __/|
\ \ \ \\ \ \ \_|/_\ \ \/ / / \ \ __\\ \ \ \ \ \ \ \_|/__
\ \ \_\\ \ \ \_|\ \ \ / / \ \ \_| \ \ \ \ \____\ \ \_|\ \
\ \_______\ \_______\ \__/ / \ \__\ \ \__\ \_______\ \_______\
\|_______|\|_______|\|__|/ \|__| \|__|\|_______|\|_______|
by Sett {{https://github.com/Sett17/Devfile}}::green
`)
View Source
var ProgArgs = []ProgArg{
{
Name: "List",
Short: "l",
Long: "list",
Help: "List all passed operations",
Func: list,
},
{
Name: "Info",
Short: "i",
Long: "info",
Help: "Shows information about any operations, as well as the script",
Func: info,
},
}
Functions ¶
func ParseForDebug ¶
func ParseForDebug(args []string)
func ParseForHelp ¶
func ParseForHelp(args []string)
func ParseForVersion ¶
func ParseForVersion(args []string)
Types ¶
Click to show internal directories.
Click to hide internal directories.