@hackbg/cmds
TypeScript icon, indicating that this package has built-in type declarations

4.0.0-rc.5 • Public • Published

@hackbg/cmds

Tiny command parser.

import Commands from '@hackbg/cmds'

class MyCommands extends Commands {
  cmd1 = this.command('cmd1', 'command 1', () => {})
}

new MyCommands('my commands')
  .addCommand('cmd2', 'command 2', () => {}, () => {})

Made with #%&! @ Hack.bg

Readme

Keywords

none

Package Sidebar

Install

npm i @hackbg/cmds

Weekly Downloads

1

Version

4.0.0-rc.5

License

MIT

Unpacked Size

51.6 kB

Total Files

25

Last publish

Collaborators

  • exactlywhoyouthinkitis
  • denismaxim0v
  • aakamenov
  • atanas-krondev
  • imollov
  • mradkov