Package de.hsh.graja.util.cli
Class Main
java.lang.Object
de.hsh.graja.util.cli.Main
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Main
public Main()
-
-
Method Details
-
main
public static boolean main(String[] args, Logging log, List<CommandProvider> commandProviders, CliConfig cfg) This is the main entrance to the CLI utilities library.- Parameters:
args
- the command line argumentslog
- is used for all outputs. Usually here you pass something like new Logging("loggername", Target.STDOUT);commandProviders
-cfg
- Here you should pass string values that are inserted at certain places in output.- Returns:
- true, if successful
-