Create screenshot from structure
This requires a lot of system resources since it runs Puppeteer to screenshot.
$ npm install # in root of project
$ npx . -h
# or
$ node src/cli.mjs -h
Usage: cli [options]
Options:
-l <code> location param
-s <code> system param
-o <path> relative output path (.png)
-z <num> zoom
-r <num> rotation
-h, --help display help for command
$ npx . -s SOL -o output.png # Screenshots Sol system and writes it to output.png relative to where the command was run
$ npx . -l SOL.PLANETS.EARTH -s SOL -o output.png # Screenshots Earth in Sol system and writes it to output.png