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