khalyomede/command-parser

Parse arguments, options and flags.

v0.2.0 2018-11-07 22:02 UTC

This package is auto-updated.

Last update: 2021-11-08 05:20:12 UTC


README

Parse arguments, options and flags.

PHP from Packagist Packagist Codeship Packagist

readfile composer.json --max-length 12 --quiet
[
  "arguments" => [
    "path" => "composer.json"
  ],
  "options" => [
    "max-length" => "12"
  ],
  "flags" => [
    "quiet" => true
  ]
]

Summary

Installation

In the prompt command:

composer require khalyomede/command-parser:0.*

Examples

work in progress