Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 348 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 348 Bytes

Command template:

Save this:

module.exports = {
  cmd: (args) => {
    // Here your command code
    return "Example result.";
  },
  help: `    <command_name> <options>  - description\n`
}

to packages/server_console/commands/<command_name>.js.

Note:

  • cmd should return the command result.
  • help can be multiple lines.