whatthejeff/fab-cli

Brighten up your shell!

v1.0.2 2014-06-02 14:13 UTC

This package is not auto-updated.

Last update: 2024-12-21 17:22:30 UTC


README

Brighten up your shell!

Commands

fab

fab composer example fab PHPUnit example

fabify

fabify composer example fabify PHPUnit example

Requirements

fab-cli requires:

  • PHP 5.3.3 or later.
  • A terminal emulator with support for ANSI escape sequences.

Installation

Warning: The install instructions below suggest renaming the fab.phar binary to fab. If your system has fabric installed, you should leave the .phar extension on the binary so that you don't have any unexpected surprises during your next deploy.

Global

With cURL:

$ sudo curl -Lo /usr/local/bin/fab https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fab.phar
$ sudo curl -Lo /usr/local/bin/fabify https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fabify.phar
$ sudo chmod a+x /usr/local/bin/fab /usr/local/bin/fabify

With Wget:

$ sudo wget -O /usr/local/bin/fab https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fab.phar
$ sudo wget -O /usr/local/bin/fabify https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fabify.phar
$ sudo chmod a+x /usr/local/bin/fab /usr/local/bin/fabify

With composer:

$ composer global require whatthejeff/fab-cli @stable
$ export PATH="$PATH:$HOME/.composer/vendor/bin"

Local

With cURL:

$ curl -Lo fab https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fab.phar
$ curl -Lo fabify https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fabify.phar
$ chmod +x fab fabify
$ export PATH="$PATH:$(pwd)"

With Wget:

$ wget -O fab https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fab.phar
$ wget -O fabify https://github.com/whatthejeff/fab-cli/releases/download/v1.0.2/fabify.phar
$ chmod +x fab fabify
$ export PATH="$PATH:$(pwd)"

With composer:

$ composer require whatthejeff/fab-cli @stable
$ export PATH="$PATH:$(pwd)/vendor/bin"

Usage

$ fab command [args...]
$ command [args...] | fabify

Acknowledgements

fab-cli was inspired by:

License

fab-cli is licensed under the MIT license.