#!/usr/bin/env node

// Module dependencies.
var debug = require('debug')('ruche:repl');
var repl = require('repl');
var ruche = require('../lib/ruche');
var emitter = require('../lib/ruche/util/emitter');

// Start the REPL with ruche available
var prompt = repl.start({ prompt: 'ruche> ' });
prompt.context.ruche = ruche;
prompt.context.ruche.emitter = emitter;
prompt.context.help = ruche.help;
prompt.context.version = ruche.version;
prompt.context.install = ruche.install;
#!/usr/bin/env node

// Module dependencies.
var debug = require('debug')('ruche:repl');
var repl = require('repl');
var ruche = require('../lib/ruche');
var emitter = require('../lib/ruche/util/emitter');

// Start the REPL with ruche available
var prompt = repl.start({ prompt: 'ruche> ' });
prompt.context.ruche = ruche;
prompt.context.ruche.emitter = emitter;
prompt.context.help = ruche.help;
prompt.context.version = ruche.version;
prompt.context.install = ruche.install;
prompt.context.uninstall = ruche.uninstall;
Add uninstall shortcut for the REPL
Add uninstall shortcut for the REPL

In the REPL your can use uninstall(['package']) without calling ruche.uninstall
