Updated Terminal: Adding Commands (markdown)

Innovation Inc 2020-05-14 19:05:56 -05:00
parent 86eba769dc
commit c3a5d82117

@ -4,19 +4,21 @@
The terminal, which runs on JavaScript, can have commands added to it.
### Step 1
Open the terminal file. It is located at `terminal/terminal.js`
Open the terminal file. It is located at `terminal/terminal.js`<br />
![](https://lh3.googleusercontent.com/hqlqMsGf2UuaRQeIidJRsM-ZCDETK_3cSkldMxATYkQHmUE86gL8GEbCGDjWdjsrryWeC06uTdXL5LZ2gSaqUxYOIJnb0yVOo43ygFowEFs1AnXGXjqqaYkdudcuj9VhTjKYjcKuhw=w2400)
<br />
Add the name of your command to the list.
### Step 2
<!-- Todo: Readd a new image without the "brake;" issue that I somehow didn't notice. -->
Add your code using the basic framework below. It should look like this:
<br />
`
case 'mycommand':
//Your code goes here
break;
`
<br />
Make your modifications and save the file.
### Step 3