java.lang.Object
net.i2p.util.CommandLine
org.klomp.snark.SnarkCommandLine
Simple command line access to various utilities. Not a public API. Subject to change. Apps and plugins should use specific classes.
Field Summary
FieldsFields inherited from class CommandLine
CLASSESConstructor Summary
ConstructorsModifierConstructorDescriptionprotectedNot instantiable: the class is a namespace formain(String[]).Method Summary
Methods inherited from class CommandLine
exec, printCommands
Field Details
SCLASSES
Constructor Details
SnarkCommandLine
protected SnarkCommandLine()Not instantiable: the class is a namespace formain(String[]).
Method Details
main
Run one command against the snark utility classes, or print the usage when none is given.- Parameters:
args- the command name followed by its arguments; empty prints the usage and exits 1
usage