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
Modifier and TypeMethodDescriptionGet the action keyword that the user needs to provide as first command line argument to invoke this module.voidprocessArguments(String[] argArray) Process the remaining command line arguments and run any of the requested actions.
-
Method Details
-
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
Process the remaining command line arguments and run any of the requested actions.- Parameters:
argArray- command line arguments without the initial action keyword
-