vm
the 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 which 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 it check the App definition documentation.rc-apps package
which packages your app and creates the zip file under dist
folder..rcappsconfig
already created in the apps directory. It accepts two types of objects:-rc-apps autocomplete <your-shell-type>
with the shell type as zsh
or bash
as the supported types. This would provide step-by-step instructions to enable shell completion in your preferred shell.