CliSite/commands/help.js

31 lines
1.1 KiB
JavaScript
Raw Permalink Normal View History

2022-06-12 09:38:38 +02:00
"use strict";
exports.__esModule = true;
exports.help = void 0;
function help() {
var buf = "";
buf += "Available commands:\n";
buf += "help - shows this help\n";
buf += "clear - clears the console\n";
buf += "ls - lists the files in the current directory\n";
buf += "cd - changes the current directory\n";
buf += "echo - prints the arguments\n";
buf += "mkdir - creates a new directory\n";
buf += "cat - prints the contents of a file\n";
buf += "touch - creates a new file\n";
buf += "rm - removes a file\n";
buf += "mv - moves a file\n";
2022-06-17 21:06:49 +02:00
buf += "faq - displays FAQ\n";
2022-06-12 09:38:38 +02:00
buf += "cp - copies a file\n";
buf += "rmdir - removes a directory\n";
buf += "pwd - prints the current directory\n";
buf += "exec - executes a file\n";
buf += "spam - spams the console\n";
buf += "overwrite - overwrites the file with data\n";
buf += "append - appends the arguments to a file\n";
buf += "screenshot - takes a screenshot\n";
2022-06-12 12:41:52 +02:00
buf += "beep - makes a beep\n";
2022-06-12 09:38:38 +02:00
buf += "man - display longer help\n";
return buf;
}
exports.help = help;
//# sourceMappingURL=help.js.map