lexicalscope/jewelcli — Issue #7: support multi-mode CLI interfaces
Author: lexicalscope
Created: 2012-01-16 17:02:20+00:00
State: open

Allow nested CLI definitions so options can be grouped depending on the mode of the application - the master option would control the availability of the slave options:

interface Top {
@Option SlaveOne getSlaveOneOption();
boolean isSlaveOneOption();

@Option SlaveTwo getSlaveTwoOption();
boolean isSlaveTwoOption();
}

interface SlaveOne {
@Option getMandatorySlaveOneOption()
}

etc...