[build.sh] Rewritten to build help menus

[help/conditions] [help/general] [help/info] Initial version
[parser] Added support for help
This commit is contained in:
ayakael 2018-04-07 21:02:31 -04:00
parent dc6464ab54
commit 342d7d7eed
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026
5 changed files with 80 additions and 6 deletions

View file

@ -10,12 +10,15 @@ GIT_DIR="./"
while true; do
case ${1} in
--help)
help
shift
HELP="${1}"
[[ -z "${HELP}" ]] && HELP=general
eval help_${HELP}
exit
;;
--info)
help info
help_info
exit
;;