@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 4.0.0-rc.5
    15
    • latest

Version History

Package Sidebar

Install

npm i @hackbg/cmds

Weekly Downloads

15

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