mirror of
https://github.com/tonydamage/nux-env.git
synced 2025-12-11 13:24:28 +01:00
nuxr: Display custom help before common commands
This commit is contained in:
parent
3d19888293
commit
1de6be55f7
1 changed files with 1 additions and 1 deletions
|
|
@ -58,8 +58,8 @@ nux.use nux/help
|
||||||
if [ -z "$allArgs" ] {
|
if [ -z "$allArgs" ] {
|
||||||
echo Usage: $NC_Bold$NUX_SCRIPTNAME ${NC_No}${NC_White}\<command\>${NC_No} [\<options\>]
|
echo Usage: $NC_Bold$NUX_SCRIPTNAME ${NC_No}${NC_White}\<command\>${NC_No} [\<options\>]
|
||||||
help:comment "$NUX_SCRIPT"
|
help:comment "$NUX_SCRIPT"
|
||||||
help:comment "$NUX_RUNNER"
|
|
||||||
nux.exec.optional task.help.additional
|
nux.exec.optional task.help.additional
|
||||||
|
help:comment "$NUX_RUNNER"
|
||||||
else
|
else
|
||||||
:topic "$@"
|
:topic "$@"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue