2017 © Pedro Peláez
 

library getoptionkit-skeleton

A quick start package for creating CLI scripts using GetOptionKit

image

beryllium/getoptionkit-skeleton

A quick start package for creating CLI scripts using GetOptionKit

  • Friday, May 13, 2016
  • by beryllium
  • Repository
  • 1 Watchers
  • 1 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

getoptionkit-skeleton

A quick demo of the GetOptionKit CLI parser for PHP, (*1)

Installation

composer create-project beryllium/getoptionkit-skeleton myproject

About the Skeleton

The skeleton script is located in bin/hello, which is an executable PHP file., (*2)

It defines two optional parameters, for '--help' and a custom '--greeting', but the core functionality of the script is to echo a greeting to the provided username., (*3)

Usage:, (*4)

bin/hello [-h] [-g "Greetings"] yourname
bin/hello [--help] [--greeting "Greetings"] yourname

There is also a bootstrap.php script, which performs some basic checks and defines a simple "writeln" function., (*5)

The Versions

13/05 2016

dev-master

9999999-dev

A quick start package for creating CLI scripts using GetOptionKit

  Sources   Download

MIT

The Requires

  • c9s/getoptionkit ^2

 

13/05 2016

1.1.0

1.1.0.0

A quick start package for creating CLI scripts using GetOptionKit

  Sources   Download

MIT

The Requires

  • c9s/getoptionkit ^2

 

03/04 2013

1.0.1

1.0.1.0

A quick start package for creating CLI scripts using GetOptionKit

  Sources   Download

MIT

The Requires

  • c9s/getoptionkit 1.*

 

03/04 2013

1.0.0

1.0.0.0

A quick start package for creating CLI scripts using GetOptionKit

  Sources   Download

The Requires

  • c9s/getoptionkit 1.*