cvs: peardoc / global.ent /en/package console.xml /en/package/console console-commandline.xml console-opt-comparison.xml
| From: | Christian Weiske | Date: | Tue, 15 Apr 2008 06:54:10 +0000 |
| Subject: | cvs: peardoc / global.ent /en/package console.xml /en/package/console console-commandline.xml console-opt-comparison.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10663@lists.php.net to get a copy of this message | ||
cweiske Tue Apr 15 06:54:10 2008 UTC
Added files:
/peardoc/en/package/console console-commandline.xml
console-opt-comparison.xml
Modified files:
/peardoc global.ent
/peardoc/en/package console.xml
Log:
- Put console commandline parser comparison into docs
- Make link to console_commandline external package homepage
http://cvs.php.net/viewvc.cgi/peardoc/global.ent?r1=1.99&r2=1.100&diff_format=u
Index: peardoc/global.ent
diff -u peardoc/global.ent:1.99 peardoc/global.ent:1.100
--- peardoc/global.ent:1.99 Fri Apr 4 09:05:45 2008
+++ peardoc/global.ent Tue Apr 15 06:54:10 2008
@@ -1,6 +1,6 @@
<!-- -*- SGML -*-
- $Id: global.ent,v 1.99 2008/04/04 09:05:45 cweiske Exp $
+ $Id: global.ent,v 1.100 2008/04/15 06:54:10 cweiske Exp $
Contains global "macros" for all the XML documents.
@@ -214,6 +214,9 @@
<!ENTITY url.iso.entities "http://jeroen.a-eskwadraat.nl/iso-entities.zip">
<!ENTITY url.docbook.appa "http://www.oasis-open.org/docbook/documentation/reference/html/appa.html">
+<!-- Console -->
+<!ENTITY url.console_commandline.docs "http://code.google.com/p/console-commandline/wiki/UserManual">
+
<!-- For CVS section -->
<!ENTITY url.cvs "http://ximbiot.com/cvs/wiki/">
http://cvs.php.net/viewvc.cgi/peardoc/en/package/console.xml?r1=1.8&r2=1.9&diff_format=u
Index: peardoc/en/package/console.xml
diff -u peardoc/en/package/console.xml:1.8 peardoc/en/package/console.xml:1.9
--- peardoc/en/package/console.xml:1.8 Fri Dec 1 10:41:22 2006
+++ peardoc/en/package/console.xml Tue Apr 15 06:54:10 2008
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<chapter id="package.console">
<title>Console</title>
@@ -10,11 +10,13 @@
&blankpagehack;
+ &package.console.console-opt-comparison;
&package.console.console-color;
+ &package.console.console-commandline;
&package.console.console-getopt;
&package.console.console-progressbar;
&package.console.console-table;
-
+
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/peardoc/en/package/console/console-commandline.xml?view=markup&rev=1.1
Index: peardoc/en/package/console/console-commandline.xml
+++ peardoc/en/package/console/console-commandline.xml
<!-- $Revision: 1.1 $ -->
<sect1 id="package.console.console-commandline">
<title>Console_Commandline</title>
<para>
The documentation for Console_Commandline can be found
on an <ulink url="&url.console_commandline.docs;">external page</ulink>.
</para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/viewvc.cgi/peardoc/en/package/console/console-opt-comparison.xml?view=markup&rev=1.1
Index: peardoc/en/package/console/console-opt-comparison.xml
+++ peardoc/en/package/console/console-opt-comparison.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision: 1.1 $ -->
<sect1 id="package.console.console-opt-comparison">
<title>Comparison of option parsers</title>
<para>This section gives an overview about the different command line option
parser packages in PEAR.</para>
<itemizedlist>
<listitem>
<para><classname>Console_GetOpt</classname>: standard getopt
implementation</para>
</listitem>
<listitem>
<para><classname>Console_GetOptPlus</classname>: php5 rewrite of getopt
with added features</para>
</listitem>
<listitem>
<para><classname>Console_GetArgs</classname>: object oriented full
featured parser</para>
</listitem>
<listitem>
<para><classname>Console_CommandLine</classname>: similar to GetArgs
with php5 and added features</para>
</listitem>
</itemizedlist>
<table>
<title>Comparison of command line parsers in PEAR</title>
<tgroup cols="5">
<colspec align="left"/>
<colspec align="center"/>
<colspec align="center"/>
<colspec align="center"/>
<colspec align="center"/>
<thead>
<row>
<entry>Feature</entry>
<entry>Console_GetOpt</entry>
<entry>Console_GetOptPlus</entry>
<entry>Console_GetArgs</entry>
<entry>Console_CommandLine</entry>
</row>
</thead>
<tfoot>
<row>
<entry>Package homepage</entry>
<entry><ulink
url="&url.pear.package;Console_GetOpt">Link</ulink></entry>
<entry><ulink
url="&url.pear.package;Console_GetOptPlus">Link</ulink></entry>
<entry><ulink
url="&url.pear.package;Console_GetArgs">Link</ulink></entry>
<entry><ulink
url="&url.pear.package;Console_CommandLine">Link</ulink></entry>
</row>
</tfoot>
<tbody>
<row>
<entry>PHP4</entry>
<entry>yes</entry>
<entry></entry>
<entry>yes</entry>
<entry></entry>
</row>
<row>
<entry>PHP5</entry>
<entry></entry>
<entry>yes</entry>
<entry>yes</entry>
<entry>yes</entry>
</row>
<row>
<entry>PHP5 with E_STRICT</entry>
<entry></entry>
<entry>yes</entry>
<entry></entry>
<entry>yes</entry>
</row>
<row>
<entry>Has end user doc</entry>
<entry><link
linkend="package.console.console-getopt">yes</link></entry>
<entry></entry>
<entry></entry>
<entry><ulink
url="&url.console_commandline.docs;">yes</ulink></entry>
</row>
<row>
<entry>Stability</entry>
<entry>stable</entry>
<entry>beta</entry>
<entry>stable</entry>
<entry>beta</entry>
</row>
<row>
<entry>POSIX/GNU compliance</entry>
<entry>yes</entry>
<entry>yes</entry>
<entry></entry>
<entry>yes</entry>
</row>
<row>
<entry>Generate help</entry>
<entry></entry>
<entry>yes</entry>
<entry>yes</entry>
<entry>yes</entry>
</row>
<row>
<entry>Generate version</entry>
<entry></entry>
<entry></entry>
<entry></entry>
<entry>yes</entry>
</row>
<row>
<entry>Argument validation</entry>
<entry></entry>
<entry></entry>
<entry>yes</entry>
<entry>yes</entry>
</row>
<row>
<entry>Handle password options</entry>
<entry></entry>
<entry></entry>
<entry></entry>
<entry>yes</entry>
</row>
<row>
<entry>Option validation</entry>
<entry></entry>
<entry></entry>
<entry></entry>
<entry>yes</entry>
</row>
<row>
<entry>Subcommands</entry>
<entry></entry>
<entry></entry>
<entry></entry>
<entry>yes</entry>
</row>
<row>
<entry>Optional callback actions</entry>
<entry></entry>
<entry></entry>
<entry></entry>
<entry>yes</entry>
</row>
<row>
<entry>L10n/I18n</entry>
<entry></entry>
<entry></entry>
<entry></entry>
<entry>yes</entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->