old_contents: #!/usr/bin/env node
  
  var nconf  = require('nconf');
  var Codius = require('../lib/codius').Codius;
  var Config = require('../lib/config').Config;
  
  // Use nconf to load command line arguments and environment variables
  nconf.argv()
       .env()
       .file({ file: 'HOME/.config/codius/cli.json' });
  var config = new Config(nconf.get());
  var command = nconf.get('_')[0];
  
  var codius = new Codius();
  codius.load(config).then(function () {
    codius.runCommand(command);
  }).catch(function (err) {
    console.error(err.message);
    process.exit(1);
  }).done();
  
new_contents: #!/usr/bin/env node
  
  var nconf  = require('nconf');
  var Codius = require('../lib/codius').Codius;
  var Config = require('../lib/config').Config;
  
  // Use nconf to load command line arguments and environment variables
  nconf.argv()
       .env()
       .file({ file: 'HOME/.config/codius/cli.json' });
  var config = new Config(nconf.get());
  var command = nconf.get('_')[0];
  
  var codius = new Codius();
  codius.load(config).then(function () {
    codius.runCommand(command);
  }).catch(function (err) {
    console.error(err.stack ? err.stack : err);
    process.exit(1);
  }).done();
  
subject: Print a full stack trace if available.