From c3a5d82117057de0c17ee62a364a5d193a3f92cb Mon Sep 17 00:00:00 2001 From: Innovation Inc Date: Thu, 14 May 2020 19:05:56 -0500 Subject: [PATCH] Updated Terminal: Adding Commands (markdown) --- Terminal:-Adding-Commands.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Terminal:-Adding-Commands.md b/Terminal:-Adding-Commands.md index 67be72e..ee9505a 100644 --- a/Terminal:-Adding-Commands.md +++ b/Terminal:-Adding-Commands.md @@ -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`
![](https://lh3.googleusercontent.com/hqlqMsGf2UuaRQeIidJRsM-ZCDETK_3cSkldMxATYkQHmUE86gL8GEbCGDjWdjsrryWeC06uTdXL5LZ2gSaqUxYOIJnb0yVOo43ygFowEFs1AnXGXjqqaYkdudcuj9VhTjKYjcKuhw=w2400) - +
Add the name of your command to the list. ### Step 2 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. ### Step 3