Skip to content

Commit 59ba49a

Browse files
committed
Added 'toggle' in help command
1 parent 0628dfd commit 59ba49a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/js/commands.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class ColumnOutput extends BaseOutput {
5555
processData(envs) {
5656
let vue = envs.vue;
5757
let result = "";
58-
this.data.forEach(elem => (result += `${elem} `));
58+
this.data.forEach((elem) => (result += `${elem} `));
5959
this._html = `<div class="${vue.$style.column}">${result}</div>`;
6060
}
6161
}
@@ -139,14 +139,14 @@ class HelpCommand extends BaseCommand {
139139
run() {
140140
return new BaseOutput(
141141
`Glad that you are one of the geeky nerds to visit this site and use this terminal!
142-
It is just a pretty basic shell and has only 4 simple commands - ls, cd, clear and help (the one with this output).`,
142+
It is just a pretty basic shell and has only 5 simple commands - ls, cd, toggle, clear and help (the one with this output).`,
143143
this.envs
144144
);
145145
}
146146
}
147147

148148
class ToggleThemeCommand extends BaseCommand {
149-
static getCommandName(){
149+
static getCommandName() {
150150
return "toggle";
151151
}
152152

@@ -160,5 +160,5 @@ export const CommandList = [
160160
ChangeDirCommand,
161161
ClearCommand,
162162
HelpCommand,
163-
ToggleThemeCommand
163+
ToggleThemeCommand,
164164
];

0 commit comments

Comments
 (0)