#!/usr/bin/env node const zephyr = require('commander'); const chalk = require('chalk'); zephyr .command('serve', 'start web server') .command('parse', 'create json file of OptionControlFile from Eos directory') .on('--help', function() { console.log('Environment variables:'); console.log(''); console.log(' ZEPHYR_HOME: The Path of zephyr directory'); console.log(''); console.log(''); console.log(('Documentation can be found at ' + chalk.blue('http://www.yasunaga-lab.bio.kyutech.ac.jp/EosJ/index.php/zephyr'))); console.log(''); }) .parse(process.argv);