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

3.0.0 • Public • Published

@hackbg/cmds

Tiny command parser.


Made with #%&! @ Hack.bg

import { CommandContext } from '@hackbg/cmds'

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

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

Keywords

none

Install

npm i @hackbg/cmds

DownloadsWeekly Downloads

26

Version

3.0.0

License

MIT

Unpacked Size

53.8 kB

Total Files

18

Last publish

Collaborators

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