Progress Help Menu
This commit is contained in:
parent
215d807a3d
commit
2f0caa12f9
1 changed files with 6 additions and 6 deletions
|
@ -12,13 +12,13 @@ type
|
||||||
]
|
]
|
||||||
|
|
||||||
var commands: seq[Command] = @[
|
var commands: seq[Command] = @[
|
||||||
("help", "Displays this help message"),
|
("help", "Displays this help message."),
|
||||||
("init", "Initialise a project directory with default settings"),
|
("init", "Initialise a project directory with default settings."),
|
||||||
("template", "Initialise a project directory with default settings"),
|
("config", "Configure dashinit settings and preferences."),
|
||||||
]
|
]
|
||||||
|
|
||||||
var options: seq[Option] = @[
|
var options: seq[Option] = @[
|
||||||
("-h", "Displays this help message")
|
("-h", "Displays this help message.")
|
||||||
]
|
]
|
||||||
|
|
||||||
proc displayHelp*() =
|
proc displayHelp*() =
|
||||||
|
@ -36,6 +36,6 @@ proc displayHelp*() =
|
||||||
styledEcho " ", styleBright, option.arg, resetStyle, " \t", option.desc
|
styledEcho " ", styleBright, option.arg, resetStyle, " \t", option.desc
|
||||||
|
|
||||||
echo "\nExamples:"
|
echo "\nExamples:"
|
||||||
echo " dashinit\t\t\tInitialises using default settings."
|
echo " ", "dashinit", "\t\t\t", "Initialises using default settings."
|
||||||
styledEcho " ", "dashinit ", "template get ", fgBlue, "<url>", resetStyle, "\tGets a template from the internet"
|
echo " ", "dashinit template -h", "\t\t", "Shows the help menu for the template subcommand."
|
||||||
# styledEcho styleBright, fgGreen, "[PASS]", resetStyle, fgGreen, " Yay!"
|
# styledEcho styleBright, fgGreen, "[PASS]", resetStyle, fgGreen, " Yay!"
|
Loading…
Reference in a new issue