rc-apps package
in your Apps' directory. This will package your App and create a zip file under the dist
folder.draft
state. The publisher must access the portal to be able to submit the App.vm
package, we have had to implement a custom logger class. To make usage of this, you can use this.getLogger()
and then do the normal console
style logging.rc-apps create
rc-apps create
and a new folder will be created inside the current working directory with a basic App that does nothing but will compile and be packaged in the dist
folder.app.json
, contains basic information about the app. You can check the app-schema.json file for all the detailed information and fields allowed in the app description file, the basic structure is similar to this:App
class from the Rocket.Chat Apps definition library. Your class also has to implement the constructor and optionally the initialize
function. For more details on those, check the App definition documentation.rc-apps autocomplete <your-shell-type>
with the shell type as zsh or bash as the supported types. This would provide a step- by-step instruction to enable shell completion in your preferred shell.