2017 © Pedro Peláez
 

library cli

Simple cli argument parser written in and for PHP.

image

redbox/cli

Simple cli argument parser written in and for PHP.

  • Friday, January 29, 2016
  • by johnnymast
  • Repository
  • 2 Watchers
  • 1 Stars
  • 29 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

redbox-logo-klein, (*1)

Build Status Scrutinizer Code Quality Code Coverage Twitter URL, (*2)

redbox-cli

This is a command line parser based on Climate by Joe Tannenbaum. We share a lot of similarities but i desided to take the getopt route and downgrade the number of lines in the code by 1/4 of the original size., (*3)

Howto use the package

Look in the examples folder for basic examples of how to use the package., (*4)

Installation

Using composer:, (*5)

$ composer require redbox-cli

Requirements

The following versions of PHP are supported by this version., (*6)

  • PHP >= 7.3

Unit Testing

With the new 1.2 release we increased the test ratio from 64% in previous versions to 95% and that is making me proud. Also with the new release i have found a way to unit test the core component of this package (getopt(). While doing this we can make sure your implementation of Redbox-cli will run like a sunshine with any of your projects. If you want a little of what our new tests cover that was not possible before, checkout our examples directory for some great examples on how to use this great package., (*7)

Author

This package is created and maintained by Johnny Mast but it was based on Climate by Joe Tannenbaum. For feature requests and suggestions you could consider sending me an e-mail or fill out an issue., (*8)

License

Redbox-cli is released under the MIT public license., (*9)

LICENSE, (*10)

The Versions

29/01 2016

dev-master

9999999-dev https://github.com/johnnymast/redbox-cli

Simple cli argument parser written in and for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

parser cli command line interface deamon tool cli helper cli parser

23/01 2016

dev-release/1.2

dev-release/1.2 https://github.com/johnnymast/redbox-cli

Simple cli argument parser written in and for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

parser cli command line interface deamon tool cli helper cli parser

23/01 2016

v1.2

1.2.0.0 https://github.com/johnnymast/redbox-cli

Simple cli argument parser written in and for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

parser cli command line interface deamon tool cli helper cli parser

19/12 2015

1.1.1

1.1.1.0

Simple cli argument parser written in and for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

13/12 2015

1.1

1.1.0.0

Simple cli argument parser written in and for PHP.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires