mirror of
https://github.com/tonydamage/nux-env.git
synced 2025-12-11 13:24:28 +01:00
Added taskie configuration & other stuff.
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
parent
6dafaf5b9d
commit
fc1b5bbc87
19 changed files with 744 additions and 7 deletions
|
|
@ -9,6 +9,7 @@ nux.use nuxr/repl
|
|||
function :run TASK {
|
||||
if check:function task.$TASK {
|
||||
nux.log debug "Running task: $TASK";
|
||||
nux.log debug "Working dir: $(pwd)"
|
||||
task.$TASK "$@" # Runs task
|
||||
else
|
||||
echo "$NUX_SCRIPTNAME: Unrecognized task '$TASK' not available."
|
||||
|
|
@ -67,7 +68,6 @@ nux.use nuxr/repl
|
|||
topic="$@"
|
||||
topic_dot=$(tr " " "." <<< $topic)
|
||||
nux.log trace "Displaying topic for: '$topic' '$topic_dot'"
|
||||
|
||||
if check:function "task.help.$topic_dot" {
|
||||
shift;
|
||||
task.help.$topic "$@";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue