CliSite/commands/help.js
2022-06-12 09:38:38 +02:00

29 lines
1.0 KiB
JavaScript

"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";
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";
buf += "man - display longer help\n";
return buf;
}
exports.help = help;
//# sourceMappingURL=help.js.map