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.

Source Distribution

Fabric-Alias-0.0.2.tar.gz (1.4 kB view hashes)

Uploaded Source

Built Distributions

Fabric_Alias-0.0.2-py2.7.egg (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page