1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Add automatic completion support for fish, Zsh, Bash and PowerShell to

Click.

All the supported shells are able to complete all the command line
arguments and options defined with click. In addition, fish and Zsh
are also displaying the options and commands help during the
completion.

WWW: https://github.com/click-contrib/click-completion
This commit is contained in:
Matthew Seaman 2018-08-17 14:04:43 +00:00
parent 0da3524164
commit b0cd6d9b43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=477430
4 changed files with 41 additions and 0 deletions

View File

@ -4429,6 +4429,7 @@
SUBDIR += py-cli-helpers
SUBDIR += py-cliapp
SUBDIR += py-click
SUBDIR += py-click-completion
SUBDIR += py-click-log
SUBDIR += py-click-plugins
SUBDIR += py-click-threading

View File

@ -0,0 +1,28 @@
# $FreeBSD$
PORTNAME= click-completion
PORTVERSION= 0.4.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= matthew@FreeBSD.org
COMMENT= Enhanced completion for Click
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}shellingham>0:devel/py-shellingham@${PY_FLAVOR}
py27_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enum34>0:devel/py-enum34@${PY_FLAVOR}
NO_ARCH= yes
USES= python
USE_PYTHON= autoplist concurrent distutils
# No tests defined for this python module
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1534513582
SHA256 (click-completion-0.4.1.tar.gz) = 33b73e70efe56b627a40e33b4450265031b878235fc4497a9646a8ea9b1055ba
SIZE (click-completion-0.4.1.tar.gz) = 9931

View File

@ -0,0 +1,9 @@
Add automatic completion support for fish, Zsh, Bash and PowerShell to
Click.
All the supported shells are able to complete all the command line
arguments and options defined with click. In addition, fish and Zsh
are also displaying the options and commands help during the
completion.
WWW: https://github.com/click-contrib/click-completion