Skip to main content

fabric_alias is a plugin for fabric when using fabfile.

Project description

you can alias fabric commands in fabfile

Install

easy_install fabric-alias
# or
pip install fabric-alias

Useage

In your __init__.py in the fabfile directory like ~/fabfile/__init__.py, write like this

from . import SOME_YOUR_MODULE
from fablic_alias import set_alias
set_alias({"sym": SOME_YOUR_MODULE})

So you can run sym command instead of SOME_YOUR_MODULE

$ fab sym
# usually you type fab SOME_YOUR_MODULE
# but this is too long to type

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Fabric-Alias, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size Fabric-Alias-0.0.2.freebsd-10.0-RELEASE-amd64.tar.gz (1.9 kB) File type Dumb Binary Python version any Upload date Hashes View
Filename, size Fabric_Alias-0.0.2-py2.7.egg (3.2 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size Fabric-Alias-0.0.2.tar.gz (1.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page