Module @hackbg/cmds

@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

Index

Classes

Type Aliases

Functions

Generated using TypeDoc