Skip to content

Commit 4122fc5

Browse files
author
Robert James Oxspring
committed
Added updated introduction documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/trunk@130088 13f79535-47bb-0310-9956-ffa450edef68
1 parent 119578a commit 4122fc5

1 file changed

Lines changed: 27 additions & 13 deletions

File tree

xdocs/index.xml

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,43 @@
1717
<document>
1818

1919
<properties>
20-
<title></title>
20+
<title>Introduction</title>
2121
<author email="commons-dev@jakarta.apache.org">commons-dev</author>
2222
</properties>
2323

2424
<body>
25-
26-
<section name="CLI : Command Line Interface">
27-
25+
<section name="Jakarta Commons CLI">
2826
<p>
29-
The CLI library provides a simple and easy to use API for working
30-
with the command line arguments and options.
27+
The Jakarta Commons CLI library provides an API for processing command
28+
line interfaces.
3129
</p>
3230
<p>
33-
CLI is based on ideas and code from
31+
CLI1 was formed by the merger of ideas and code from three different
32+
libraries and allows most simple interfaces to be modelled. CLI1
33+
became increasingly difficult to maintain and develop further and so
34+
CLI2 has been developed with the goals of clearer responsibilities and
35+
being more flexible. The intention is that CLI2 should be able to
36+
model a far greater selection of interfaces and do so more completely,
37+
validating as much as possible.
38+
</p>
39+
<p>
40+
The redesigned CLI2 is rooted in the <code>org.apache.commons.cli2</code>
41+
package and the distribution retains the <code>org.apache.commons.cli</code>
42+
package so that the upgrade doesn't break old code. The CLI1 package
43+
should be regarded as deprecated to encourage the transition to the
44+
more flexible CLI2 framework but minor bug fixes and patches may be
45+
accepted to ensure that CLI1 based applications continue to function as
46+
expected.
47+
</p>
48+
<p>
49+
The rest of the documentation is split into the followin three sections:
3450
<ul>
35-
<li>werken.opt by Bob Mcwhirter</li>
36-
<li>The cli package in Avalon Excalibur by Peter Donald</li>
37-
<li>Optz by John Keyes</li>
51+
<li><a href="manual/index.html">CLI2</a> - a reference manual for version 2</li>
52+
<li><a href="introduction.html">CLI1</a> - documentation for version 1 </li>
53+
<li><a href="examples/index.html">Examples</a> - a selection of worked examples demonstrating CLI2 features</li>
3854
</ul>
3955
</p>
40-
4156
</section>
42-
4357
</body>
44-
58+
4559
</document>

0 commit comments

Comments
 (0)