mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-09 21:46:12 +00:00
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;
|