embark/lib/dashboard/repl.js

18 lines
231 B
JavaScript
Raw Normal View History

2018-07-23 12:30:58 +00:00
const repl = require("repl");
class REPL {
constructor(options) {
this.env = options.env;
}
start(done) {
repl.start({
prompt: "Embark (" + this.env + ") > "
});
done();
}
}
module.exports = REPL;