Color codes Introduction

Console

PEAR Manual


Console_CommandLine

Table of Contents
Introduction -- introduction to the Console_CommandLine package
Creating the parser -- how to create a parser using PHP code or an XML definition file
Populating the parser -- how to add options, arguments and subcommands to the parser
Extending Console_CommandLine -- how to customize this package to achieve specific tasks
Examples -- various code examples

Console_CommandLine is a full featured package for managing command line options and arguments highly inspired from the python optparse module, it allows the developer to easily build complex command line interfaces.



Color codes Introduction

Console

PEAR Manual