Update CLI help

This commit is contained in:
Starbeamrainbowlabs 2019-07-25 13:17:23 +01:00
parent dde6dc15be
commit ff412dcd5d
2 changed files with 7 additions and 4 deletions

10
build
View file

@ -34,9 +34,13 @@ if [[ "$#" -lt 1 ]]; then
echo -e " ./build ${CTOKEN}{action}${RS} ${CTOKEN}{action}${RS} ${CTOKEN}{action}${RS} ..."; echo -e " ./build ${CTOKEN}{action}${RS} ${CTOKEN}{action}${RS} ${CTOKEN}{action}${RS} ...";
echo -e ""; echo -e "";
echo -e "${CSECTION}Available actions${RS}"; echo -e "${CSECTION}Available actions${RS}";
echo -e " ${CACTION}setup${RS} - Perform initial setup"; echo -e " ${CACTION}setup${RS} - Perform initial setup";
echo -e " ${CACTION}render${RS} - Render the report"; echo -e " ${CACTION}render${RS} - Render the report";
echo -e " ${CACTION}server-ttn${RS} - Execute the Node.js TTN receiver."; echo -e " ${CACTION}server-ttn${RS} - Execute the Node.js TTN receiver.";
echo -e " ${CACTION}client${RS} - Build the client-side code.";
echo -e " ${CACTION}client-watch${RS} - Auto-rebuild the client-side code on modification.";
echo -e " ${CACTION}dev-server${RS} - Start the development web server for the web interface.";
echo -e " ${CACTION}dev-server-stop${RS} - Stop the development web server.";
echo -e ""; echo -e "";
exit 1; exit 1;

View file

@ -15,7 +15,6 @@ ${a.fblue}${a.hicol}Subcommands:${a.reset}
${a.fyellow}decode-test${a.reset} Decodes a base64 encoded message ${a.fyellow}decode-test${a.reset} Decodes a base64 encoded message
${a.fyellow}process-data${a.reset} Consolidates collected data from the IoT device and the TTN app server ${a.fyellow}process-data${a.reset} Consolidates collected data from the IoT device and the TTN app server
${a.fyellow}train-ai${a.reset} Trains the AI on the consolidated data ${a.fyellow}train-ai${a.reset} Trains the AI on the consolidated data
${a.fyellow}serve-map${a.reset} Serves the final output map using the trained AI
${a.fblue}${a.hicol}Options:${a.reset} ${a.fblue}${a.hicol}Options:${a.reset}
${a.fyellow}-h --help ${a.reset}Show this message ${a.fyellow}-h --help ${a.reset}Show this message