Skip to content

Instantly share code, notes, and snippets.

@wbyoung
Last active August 29, 2015 14:08
Show Gist options
  • Save wbyoung/49d99169dd6ea5cc0f0e to your computer and use it in GitHub Desktop.
Save wbyoung/49d99169dd6ea5cc0f0e to your computer and use it in GitHub Desktop.
Example liftoff issue
var Liftoff = require('liftoff');
var argv = require('minimist')(process.argv.slice(2));
var invoke = function(env) {
console.log('modulePath: %j', env.modulePath);
console.log('configBase: %j', env.configBase);
console.log('cwd: %j', env.cwd);
};
var liftoff = new Liftoff({
name: 'app'
});
liftoff.launch({
cwd: argv.cwd,
configPath: argv.appfile,
}, invoke);
// see issue on GitHub: https://github.com/tkellen/node-liftoff/issues/25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment