nicpco@user:~$ 
nicpco@user:~

CLI - Command Line Interface Simulation

A fun experiment for displaying Noyan co.

Type 'help' + Enter -- for available commands.

»Brimo Run

start brimo
provied project files Noyan co. brimo serve project
nicpco development server started: https://brimo.ir
runing..........................................

»Usage

Using it is pretty straight forward. Create several(as much as you need) divs or «section» elements each with it's unique id to hold your content. Make sure to have an error section (id="error") with some information to warn the user when he/she mistypes a command or if there is no section with that name, think of it as a 404 page.

A section with id="help" is also required so you can list all the available sections and let your users know what words to write to access that particular content.

The input field must be a standalone element and must not be placed inside any of the content divs or sections, and make sure you give it a classname "command", if you want to name it anything else you need to edit the app.js and change all instances of .command in the script to match your chosen classname.

In short, just view the source code of this demo, copy/modify it to your liking making sure you include the error and help sections.

»about us

noyan co.nicpco

conatct@nicpco.ir

Command not found!

Type 'help' + Enter -- for available commands.

»Help

Type [command] + Enter

  • 'home' -- Thats obvious!
  • 'run' -- run brimo
  • 'usage' -- How to
  • 'about' -- What's this for
  • 'help' -- displays this list
nicpcosys:/$