mirror of https://github.com/embarklabs/embark.git
18 lines
231 B
JavaScript
18 lines
231 B
JavaScript
|
const repl = require("repl");
|
||
|
|
||
|
class REPL {
|
||
|
constructor(options) {
|
||
|
this.env = options.env;
|
||
|
}
|
||
|
|
||
|
start(done) {
|
||
|
repl.start({
|
||
|
prompt: "Embark (" + this.env + ") > "
|
||
|
});
|
||
|
|
||
|
done();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = REPL;
|