Skip to content

RobertoRojas/web-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-console

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.

Command

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;
    }
}

Attributes

  • Name: String to select the command.
  • Description: String to show in 'help' command.
  • Process: Function to execute.

Blog

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 = "";

Author

  • Roberto, Rojas