EngineHub / Intake

IoC-oriented Java command parsing library
GNU Lesser General Public License v3.0
98 stars 21 forks source link

Implement grouped commands #18

Closed kashike closed 7 years ago

kashike commented 8 years ago

This is an attempt at implementing a "grouped commands" system into Intake. I'd appreciate any feedback on this, I'm not sure if this is the best, or cleanest, way to implement this.

sk89q commented 8 years ago

Couldn't you already do grouped commands? However, my memory is a bit rusty here.

kashike commented 8 years ago

@sk89q You sort of can with DispatcherNode#group(String...), but it's not very friendly if you're registering commands at different times. Attempting to get a group a second time doesn't work (re-registering). This is based off of your Plume command stuff.