simple commander.js bolierplate that helps run isolated experiments
after cloning this repo, install dependencies
npm install
run first-time
command, to make command.sh
executable
npm run first-time
- deinfe your own
commander.js
commands inindex.js
or wherever you like - set experiment name inside
command.sh
using theset
command - write the code that runs your commands in
command.sh
and execute them (e.g:./command.sh
) - everytime you want to run a new experiment, rename the
set
command fromcommand.sh
file - all logs (using
logger
module), and files (usingfile
module) were created by your commands will be stored in an isolated folder that has the same name as you have defined in theset
command