New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add completions for fabric(deploy-tool) #4153

Closed
wants to merge 5 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@tamanugi
Contributor

tamanugi commented Jun 21, 2017

Description

Add fab completions
http://www.fabfile.org/

example

# fabfile.py
# -*- encoding:utf-8 -*-
from fabric.api import *

def hello_world():
    print "hello"

def hoge():
    """
    print hogehoge
    """
    print "hogehoge"

fab -l is displayed as follows:

$ fab -l
Available commands:

    hello_world
    hoge         print hogehoge

so fab-command completions as follows:

$fab <TAB>                                                                          
hello_world  (No description)  hoge  (print hogehoge)
Show outdated Hide outdated share/completions/fab.fish Outdated
Show outdated Hide outdated share/completions/fab.fish Outdated
Show outdated Hide outdated share/completions/fab.fish Outdated
Show outdated Hide outdated share/completions/fab.fish Outdated
Show outdated Hide outdated share/completions/fab.fish Outdated
Show outdated Hide outdated share/completions/fab.fish Outdated
Show outdated Hide outdated share/completions/fab.fish Outdated

@faho faho added this to the fish 2.7.0 milestone Jun 21, 2017

@faho faho self-assigned this Jun 22, 2017

@faho

This comment has been minimized.

Show comment
Hide comment
@faho

faho Jul 5, 2017

Member

Merged as 70c9d78..6b92f83. Sorry for the delay!

Member

faho commented Jul 5, 2017

Merged as 70c9d78..6b92f83. Sorry for the delay!

@faho faho closed this Jul 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment