PHP Classes

How to Implement a PHP CLI Arguments Parser using Cli One: Extract argument values passed to PHP shell script

Recommend this page to a friend!

  Author Author  
Picture of Jorge Castro
Name: Jorge Castro <contact>
Classes: 25 packages by
Country: Chile Chile
Innovation award
Innovation award
Nominee: 11x

Winner: 2x


  Detailed description   Download Download .zip .tar.gz  
This package can extract argument values passed to the PHP shell script.

It can take a list of definitions of the parameters that a command-line shell can be pass to a PHP script that runs from the console.

The package can extract the parameter values from the current command line arguments and return them to objects that applications can inspect.

Details

CliOne

Packagist Total Downloads [Maintenance]() [composer]() [php]() [php]() [CocoaPods]()

Changelog

  • 0.3 (2022-01-26) new corrections to the reading of values
  • 0.2 some updates
  • 0.1 first version

  Classes of Jorge Castro  >  How to Implement a PHP CLI Arguments Parser using Cli One  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: How to Implement a PHP CLI Arguments Parser using Cli One
Base name: clione
Description: Extract argument values passed to PHP shell script
Version: -
PHP version: 5
License: GNU Lesser General Public License (LGPL)
 
  Groups   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Console Command line and console utilities View top rated classes


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Files folder imageexample (1 file)
Files folder imagesrc (2 files)
Files folder imageTest (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file example1.php Example Example script

  Files folder image Files  /  src  
File Role Description
  Plain text file CliOne.php Class Class source
  Plain text file CliOneParam.php Class Class source

  Files folder image Files  /  Test  
File Role Description
  Plain text file CliOneTest.php Class Class source

Download Download all files: clione.tar.gz clione.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.