@hackbg/cmds

v3.2.0
Minimal command line parser.

@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

npm i @hackbg/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 11/17/2023

Downloads