CLI Parser extended: Get values from command line arguments

Recommend this page to a friend!
  Info   View files (11)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 348 All time: 6,897 This week: 356
Version License PHP version Categories
cliparser-extended 0.2GNU General Publi...5.0PHP 5, Text processing, Console, Parsers
Description Author

This class can get values from command line arguments.

It is an enhanced version of the CLI parser class originally written by Diego Feitosa.

This version can automatically load the argument type classes, the main class is no longer abstract and so can be used directly or be extended, it supports arguments that can be used without the switch, the type of the argument can show in the help message, invalid arguments can be associated to error messages.

Picture of Olivier Bourdoux
  Performance   Level  
Name: Olivier Bourdoux <contact>
Classes: 1 package by
Country: Belgium Belgium
Age: 33
All time rank: 361119 in Belgium Belgium
Week rank: 713 8 in Belgium Belgium

  Files  
File Role Description
CliParser.inc Class Main class
CliToken.inc Class Token Class
CliTokenBoolean.inc Class Token Boolean Class
CliTokenDirectory.inc Class Token Directory Class
CliTokenEnum.inc Class Token Enum Class
CliTokenFile.inc Class Token File Class
CliTokenInteger.inc Class Token Integer Class
CliTokenNumeric.inc Class Token Numeric Class
CliTokenString.inc Class Token String Class
CliTokenExample.inc Class Token Example Class
example.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:348
This week:0
All time:6,897
This week:356

For more information send a message to info at phpclasses dot org.