Interface CommandOptionManager
public interface CommandOptionManager
Interface for managing and processing command-line options.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDebug()get debugging.voidprocess(CommandOptions options) after all params are set process them. includes input and outputvoidsetDebug(boolean d) turn debug on or off.
-
Field Details
-
UNKNOWN
static final int UNKNOWNunknown argument.- See Also:
-
AMBIGUOUS
static final int AMBIGUOUSambiguous argument.- See Also:
-
-
Method Details
-
process
after all params are set process them. includes input and output- Parameters:
options-- Throws:
Exception- could be anything, including IO
-
setDebug
void setDebug(boolean d) turn debug on or off.- Parameters:
d- on/off
-
getDebug
boolean getDebug()get debugging.- Returns:
- on/off
-