2017 © Pedro Peláez
 

library simple_scan_args

a simple function to parse an $argv array

image

henderjon/simple_scan_args

a simple function to parse an $argv array

  • Friday, May 16, 2014
  • by henderjon
  • Repository
  • 1 Watchers
  • 0 Stars
  • 126 Installations
  • PHP
  • 0 Dependents
  • 2 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

simple_scan_args

simple_scan_args is a CLI function that will parse an array for -flags and -key=value pairs. It supports the following syntax: "-f" "-flag" "-key=value" "-key value". Using one or more dashes has no effect., (*1)

usage

$args = simple_scan_args($_SERVER["argv"], array $keys, array $flags);, (*2)

installation

Using composer "require" : { "henderjon/simple_scan_args": "1.*" }, (*3)

license

See LICENSE.md for the BSD-3-Clause license., (*4)

The Versions

16/05 2014

dev-master

9999999-dev http://github.com/henderjon/simple_scan_args

a simple function to parse an $argv array

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

16/05 2014

v1.0.0

1.0.0.0 http://github.com/henderjon/simple_scan_args

a simple function to parse an $argv array

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

11/04 2014

dev-0.1.1-dev

dev-0.1.1-dev http://github.com/henderjon/simple_scan_args

a simple function to parse an $argv array

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires

04/04 2014

v0.1.0

0.1.0.0 http://github.com/henderjon/simple_scan_args

a simple function to parse an $argv array

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

The Development Requires