UNPKG

@mojojs/core

Version:

Real-time web framework

16 lines (14 loc) 376 B
import repl from 'node:repl'; /** * Repl command. */ export default async function replCommand(app) { repl.start().context.app = app; } replCommand.description = 'Start a repl for application'; replCommand.usage = `Usage: APPLICATION repl [OPTIONS] node index.js repl Options: -h, --help Show this summary of available options `; //# sourceMappingURL=repl.js.map