php-cli/php-cli

A simple command-line interface (CLI) helper for PHP.

dev-master 2015-06-15 19:26 UTC

This package is not auto-updated.

Last update: 2024-05-11 11:48:10 UTC


README

A simple class to help make command line usage in PHP easier.

Features:

  1. Progress Bar
  2. Display Memory Usage
  3. Print text in various foreground/background colors
  4. Prompt for input from the user

Example Usage: php example.php --date=2012-01-01 -v

Or with help output:

Example Usage: php example.php -h

Copyright [2012] [Jason Bradley]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.