PHP Classes
Icontem

Class: CLI Parser


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Diego Feitosa  >  CLI Parser  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CLI Parser Support forum
Base name: cliparser
Description: Parse and extract arguments from the command line
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 478 users
All time rank: 3527
Week users: 3 users
Week rank: 2230
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Diego Feitosa
Name: Diego Feitosa <e-mail contact>
Published packages: 5 Browse this author's classes Browse this author's classes
Country: Brazil Brazil - PHP jobs in Brazil
Home page: http://www.dnfeitosa.com/
Age: 23
All time rank: 420
Week rank: 208

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Console Command line and console utilities View top rated classes

Detailed description

This package can be used to parse and extract the values of arguments passed to a PHP script when it is executed from the command line.

There are several classes that can parse and validate arguments of several types like: boolean switches, strings, numbers, files and directory names.

The main class can use objects of the configured argument types classes to validate and extract the argument values. It can also present an usage help messages.

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file CliParser.inc Class Abstract class with the interpreter definition
Plain text file CliToken.inc Class Abstract class wich describes the tokens
Plain text file CliTokenArray.inc Class Concrete class that accepts many arguments and returns an array
Plain text file CliTokenBoolean.inc Class Concrete class that accepts no arguments and returns an boolean value
Plain text file CliTokenDirectory.inc Class Concrete class that accepts a directory as argument
Plain text file CliTokenFile.inc Class Concrete class that accepts a path of file as argument
Plain text file CliTokenNumeric.inc Class Concrete class that accepts a numeric value as argument
Plain text file CliTokenString.inc Class Concrete class that accepts a string as argument
Plain text file CliTokenExample.inc Class Example of how to implement your own kind of token
Plain text file example.php Example Example
Download all files: cliparser.tar.gz cliparser.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products