This project is a shell simulator, and it doesn't try to become a real shell interface, is only for fun. With this clear, we can proceed with the basic configuration of the web-console.
Into the eventsmanager.js you can define a new command into the array 'commands'. use the follow class:
class Command {
constructor(executable, description, process) {
this.name = executable;
this.description = description;
this.process = process;
}
}
- Name: String to select the command.
- Description: String to show in 'help' command.
- Process: Function to execute.
To add entries to the blog, you need to create an external repository in github like this. To configure the user, repo and language of the web-consolem you need to modify the follow file into the blog section:
// Blog configuration
var blogLang = "";
var blogOwner = "";
var blogRepo = "";
- Roberto, Rojas