1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00
nux-env/bin/nux-env
Tony Tkacik 89010fd209 Improved help system.
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
2017-06-20 15:55:07 +02:00

36 lines
684 B
Text
Executable file

#!/usr/bin/env nux-runner
## Portable *nix environment by tonydamage
## status::
## Show status of nux-env installation
task.status() {
echo nux-env folder: $NUX_ENV_DIR
pushd $NUX_ENV_DIR > /dev/null
git status
popd > /dev/null
}
## update::
## pulls latest nux-env from repository.
task.update() {
pushd $NUX_ENV_DIR > /dev/null
git stash
git pull -r
git stash pop
popd > /dev/null
}
## install::
## Install nux-env recommended binaries if not present
task.install() {
:
}
## help library:: <inc>
## Displays help for specified nuxs-env library.
##
task.help.library() {
local name="$1"
nux.help.comment $NUX_INC_DIR/$name.inc.sh
}