fab-cli

Brighten up your shell!

MIT License

Downloads
17
Stars
4
Committers
1

fab-cli

Brighten up your shell!

Commands

fab

fabify

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.

Package Rankings
Top 26.39% on Packagist.org
Related Projects