Closed Vassyli closed 8 years ago
How will this work?
I can take the daenerys utils binary and register commands in the crate using the static function to provide additional features. Something along the lines of
Main::registerCommand(new CrateUserCreateCommand())
Couple of things:
Main::registerCommand()
would only work while the daenerys
tool is running. To make this really extensible, daenerys
should fire a hook and listeners can return commands in the event handler.I thought about extending the tool on both sites to provide commands to:
I'll close this PR and think about it a bit more.
This commit makes bin\daenerys extensible for additional commands
Fixes #40.