GitHub - cg-cnu/fab-autocomplete: A handy auto completion script for python fabric module.

1 min read Original article ↗

Fab Auto Complete

Description:

A handy auto completion script for fabric

Demo:

Usage

  • Type fab and <tab> to get the functions .
  • Type fab and --<tab> for the flags.

Features:

  • Auto completion for

    • Functions
    • Flags
  • Supports the following shells

    • bash

Installation:

Bash on Centos

  • Download or clone the repo.
  • Copy the file fab-bash-completion to /etc/bash_completion.d/

Issue/Feedback:

Log them in the github issues or hit me on twitter.

Known Issues:

  • currently the tool assumes that the fabfile exists in the folder where fab is being run.

Like it?

Please ⭐ this repo!