Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.05 KB

File metadata and controls

23 lines (16 loc) · 1.05 KB

New Commands

Creating a new command is simple:

  • Create a new file in /commands.
  • Refer to the expected structure/fields documented in /commands/index.js.
  • It may help copy an existing command as a starting point.
  • That's it!

Tips

  • Keep the file name short and only use lowercase letters -- it's used as the identifer for the command and what people will type.
  • Include all the relevant meta data: name, summary, description, usage, author, ...
  • Use process.env.VARIABLE to avoid any identifiable information in your file (e.g. URls or other sensitive data).
  • If you think other organisations could use your command (i.e. it's generic enough), please submit a pull request to the main repo: https://github.com/demoive/rabbit2.

Core functionality

For code contributions, submit pull requests to https://github.com/demoive/rabbit2.