khalyomede/command-parser

Parse arguments, options and flags.

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

This package is auto-updated.

Last update: 2024-11-08 12:21:25 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