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 details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Egg

File details

Details for the file Fabric-Alias-0.0.2.tar.gz.

File metadata

  • Download URL: Fabric-Alias-0.0.2.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Fabric-Alias-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7f9b4361a3d2f7bce25fcc00ba28bae36d537ec1069b877475a14211e1f4de48
MD5 7b761d5cf90c2c1a747bfc24c8af4717
BLAKE2b-256 e17c25805c10e78ee6e1ff8c3b84848fabf9cfa4c91730a1802f4f97d52945f2

See more details on using hashes here.

File details

Details for the file Fabric_Alias-0.0.2-py2.7.egg.

File metadata

File hashes

Hashes for Fabric_Alias-0.0.2-py2.7.egg
Algorithm Hash digest
SHA256 3aa83057f6336902ac71134fd87ce6e990b075455c2bf9ead53d5d1f0d40fec8
MD5 915d79d6b3cbc7e4f69768351ec3c608
BLAKE2b-256 3f2a74d20940e3c9c916d03a90b33d901932d1ed4b4b07ab0daa87551aa5d459

See more details on using hashes here.

File details

Details for the file Fabric-Alias-0.0.2.freebsd-10.0-RELEASE-amd64.tar.gz.

File metadata

File hashes

Hashes for Fabric-Alias-0.0.2.freebsd-10.0-RELEASE-amd64.tar.gz
Algorithm Hash digest
SHA256 0e0a55748e4225a31f4101ed1279ba9847848d29b45a1a187b847b87b6d338f8
MD5 cf30e0469e4ddf0a61b1eb2fc0c3f7d9
BLAKE2b-256 80dabff38e927d27848753789bc2beed3bde5f8ace146974a2df88fee8182647

See more details on using hashes here.

Supported by

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