Add clear command (fix #4)

This commit is contained in:
2021-12-26 14:17:11 +01:00
parent 3dea76b80f
commit b9e4a4558c
3 changed files with 33 additions and 11 deletions

View File

@ -195,4 +195,10 @@ const exitCmd: Command = {
}
}
export const commandList = [about, help, man, project, exitCmd];
const clear: Command = {
name: "clear",
desc: "Clears the output on screen.",
execute: () => []
}
export const commandList = [about, help, man, project, exitCmd, clear];