Skip to content

n0740/fabric-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 

Repository files navigation

Bash completion for Fabric

Features

Script provides completion for fab tasks and long options.

All available tasks are cached in special file to speed up the response. Cache file with tasks updates on every fabfile modification.

Long options (like --help, --version etc.) are cached only when completion is used at first time.

Installation

Download and add to your .bashrc file:

source /path/to/file/fabric-completion.bash

Add .fab_tasks~ (see below) to your .gitignore.

Settings

There are two params:

  • Use cache files for fab tasks or not.

    Enabled by default.

    To disable add add the following line to your .bashrc:

    export FAB_COMPLETION_CACHE_TASKS=false
  • File name where tasks cache will be stored (in current directory).

    Default value is .fab_tasks~.

    To change the name, add the following line to your .bashrc:

    export FAB_COMPLETION_CACHED_TASKS_FILENAME="<cache-file-name>"

About

Bash completion for Fabric

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages