Debian Codegraph @

src/site/apt/index.apt

raw
1 -----
2 Args4j
3 -----
4 -----
5
6
7 args4j is a small Java class library that makes it easy to parse command line options/arguments in your CUI application.
8
9 Why should I use it?
10
11 See {{{http://weblogs.java.net/blog/kohsuke/archive/2005/05/parsing_command.html}my quick intro}}.
12
13 * It makes command line parsing very easy by using annotations
14
15 * Generate usage text very easily
16
17 * Generate HTML/XML documentation listing all options
18
19 * Full localization support
20
21 * Designed to parse <<<javac>>> like options, as opposed to GNU-style (where <<<ls -lR>>> is considered to have two options <<<l>>> and <<<R>>>).
22
23 * Licensed under {{{http://www.opensource.org/licenses/mit-license.php}the MIT license}}.
24
25 []
26
27 How can I use it?
28
29 [[1]] Check {{{https://github.com/kohsuke/args4j/blob/master/args4j/examples/SampleMain.java}the sample}}. This is how your code will look like.
30
31 [[1]] {{{http://maven.glassfish.org/content/groups/public/args4j/}Download}} the distribution or include the library from the Maven Repository at java.net.
32
33 [[1]] Write your code.
34
35 []
36
37 More Resources
38
39 [[1]] {{{./sample.html}A small tutorial}} for the use of the Starter and Args4J
40
41 [[1]] {{{./args4j/apidocs/}javadoc}}
42
43 [[1]] {{{./apt.html}How to generate a documentation for your CLI}}
44
45 [[1]] {{{./implementOptionhandler.html}Extend args4j to handle other Java types}}
46
47 [[1]] {{{http://weblogs.java.net/blog/kohsuke/archive/2005/05/parsing_command.html}Kohsuke's Blog: Parsing command line options in JDK 5.0 style}}
48
49 [[1]] {{{http://hikage.developpez.com/java/articles/api/cli-vs-args4j/}A comparison between Commons CLI and Args4j}} in French
50
51 []