This repository was archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Terminal: Adding Commands
Innovation Inc edited this page May 15, 2020
·
5 revisions
The terminal, which runs on JavaScript, can have commands added to it.
Open the terminal file. It is located at terminal/terminal.js
Add the name of your command to the list.
Add your code using the basic framework below. It should look like this:
case 'mycommand':
//Your code goes here
break;
Make your modifications and save the file.
Open the terminal and run the command by typing its name. You should also be able to see it when running "help".
Modules are a way of temporarily adding functions to DremJS. Documentation on it can be found here.
© Innovation Inc. 2020
Any bugs you encounter should be reported at our Git Reports Page. Help is greatly appreciated! If you have an idea for something that should be added to DremJS, go to our issues page and give it an "enhancement" label. Thank you!