#!/usr/bin/env node

/**
 * This is the main entry when you type kuzzle start command
 *
 * If you want to run the kuzzle service with pm2,
 * take a look at the scripts/app-start.js file
 *
 */
var program = require('commander');


var cmd;

// $ kuzzle start
cmd = program.command('start');
cmd.option('--port [port]');
cmd.description('Run Kuzzle');
cmd.action(require('./kuzzle-start'));

// Run user command
program.parse(process.argv);
#!/usr/bin/env node

/**
 * This is the main entry when you type kuzzle start command
 *
 * If you want to run the kuzzle service with pm2,
 * take a look at the src/app-start.js file
 *
 */
var program = require('commander');


var cmd;

// $ kuzzle start
cmd = program.command('start');
cmd.option('--port [port]');
cmd.description('Run Kuzzle');
cmd.action(require('./kuzzle-start'));

// Run user command
program.parse(process.argv);
correct file path