0.1.2 • Published 8 years ago

ez-commander v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

EzCommander

A NodeJS module for an easy interactive commandline.

Example

const EzCommander = require('ez-commander');

let commander = new EzCommander();

commander.on('reload', ()=>{
  console.log('You want to reload, huh?');
});

commander.on('report', (name) => {
  console.log('Oh, you want to report "'+name+'" huh?');
});

Output:

Oh, you want to report "nobody" huh?
> report nobody

But Freehunt! Whats the point of this?

This module is like a console without history!
Your console output wont interrupt your commandline input.
This way you can easily give your servers the possibility to accept commands.

For example to reload plugins.

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago