You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.1 KiB

import path from 'path';
import c from './bootstrap/container.mjs';
const a = c.resolve("ansi");
export default function(settings) {
console.log(`${settings.program_name}, ${settings.version}
${a.locol}By Starbeamrainbowlabs${a.reset}
${a.hicol}This program ${settings.description}.${a.reset}
node --experimental-modules ${path.relative(process.cwd(), process.argv[1])} {subcommand} {options}
${a.fyellow}ttn-app-server${a.reset} Starts the thing network application 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}serve-map${a.reset} Serves the final output map using the trained AI
${a.fyellow}-h --help ${a.reset}Show this message
${a.fyellow}-v --version ${a.reset}Show the version of this program
${a.fblue}${a.hicol}Environment Variables:${a.reset}
(none yet)