kilahm / hack-clio
CLI input and output for Hack
Installs: 162
Dependents: 2
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Language:Hack
Requires (Dev)
- hackpack/hackunit: dev-master
README
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.