Package org.openstreetmap.josm.cli
Interface CLIModule
-
- All Known Implementing Classes:
ProjectionCLI
,RenderingCLI
,ValidatorCLI
public interface CLIModule
A command line interface module.The user can provide an action keyword as first argument. This will invoke the corresponding
CLIModule
, which has its own set of options and will do a specific job.- Since:
- 12793
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getActionKeyword()
Get the action keyword that the user needs to provide as first command line argument to invoke this module.void
processArguments(java.lang.String[] argArray)
Process the remaining command line arguments and run any of the requested actions.
-
-
-
Method Detail
-
getActionKeyword
java.lang.String getActionKeyword()
Get the action keyword that the user needs to provide as first command line argument to invoke this module.- Returns:
- the action keyword of this module
-
processArguments
void processArguments(java.lang.String[] argArray)
Process the remaining command line arguments and run any of the requested actions.- Parameters:
argArray
- command line arguments without the initial action keyword
-
-