kilahm/hack-clio

CLI input and output for Hack

Installs: 166

Dependents: 2

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

Language:Hack

v1.1.0 2014-12-11 16:46 UTC

This package is not auto-updated.

Last update: 2024-11-19 03:20:35 UTC


README

Build Status HHVM Status

Fluent command line input and output library for Hack. This library is useful to making command line scripts that require user interaction.

Installation

The only option currently supported is to install through Composer. Add the following line to your required block:

“kilahm/hack-clio”: “~1.0”

Features

Hack Clio allows you to define arguments and options for the command line invocation of your script. There is a built in help compiler that allows you to print a user friendly description of the arguments and options you define.

You can easily ask for input from your user including input validation.

Format text output with colors, indentation, centering, etc. All of this can be “responsive” to the width of your terminal window.

See the documentation for more details.