pimd
pimd copied to clipboard
Refactor command interface
The current way to add a new command (Processing Instruction) <?my-command?>
is:
config.commands['my-command'] = () => 'return value'
This should be refactored into:
config.commands.add('my-command', () => 'return value')