PHPackages                             enygma/cmd - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. enygma/cmd

ActiveLibrary[CLI &amp; Console](/categories/cli)

enygma/cmd
==========

A simple command line option parser

0.4(9y ago)6958.5k—4%4MITPHPPHP &gt;=5.4.0

Since Nov 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/enygma/cmd)[ Packagist](https://packagist.org/packages/enygma/cmd)[ Docs](https://github.com/enygma/cmd.git)[ RSS](/packages/enygma-cmd/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (4)

Command Line Tools
==================

[](#command-line-tools)

[![Travis-CI Build Status](https://camo.githubusercontent.com/688ed38de02ea03bf1aeb57f064901c1cf5f8d66ad0af7d08f04be28470580e2/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f656e79676d612f636d642e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/enygma/cmd)

This library provides some handy utilities for working on the command line:

- a simple interface for parsing the `$_SERVER['argv']` input values out into key/value pairs (`Command`)
- an output handling library making formatted output easy (`Output`)

### Installation

[](#installation)

Using Composer:

```
composer require enygma/cmd

```

### Example Usage:

[](#example-usage)

```
