Skip to content
On this page

Getting Started

Prerequisites

Good To Have!

  • JavaScript knowledge.
  • Node basic knowledge.
  • Text Editor VSCode.

Hello World!

Let start build our first custom command in rtila using a basic hello world command!, our goal is to show a alert message that shows to user a message says "Hello World!"

hello world!

Create a new project in RTILA

Now after we create our project lets create our custom command!

Create Custom Command

Create directory hello-world-addon/

Create config.json file

json
{
  "role": "variable",
  "type": "hello-world-addon",
  "label": "Hello",
  "description": "Nice Hello Command!",
  "defaultValues": {},
  "fields": []
}

In our case we need a variable custom command because we need to output a value and the best way do it is by using variable custom command if you have another case please

Create script.js file

js
commandValues="Hello World!";

This is just a example for More!

Structure of our directory

hello-world-addon/
├── config.json
└── script.js

ZIP hello-world-addon directory

  • Upload hello-world-addon.zip on rtila

Test our command!

After we import our command and use it our project will look like ! test

Files

here you will find all asset that we use in this project!

hello-world-addon zip file

hello-world-addon test template