A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ctil/zargparse below:

ctil/zargparse: A tool for generating zsh completion files for python command line tools that use argparse

Pass a python script to zargparse.py and it will write out a Zsh completion file to the current working directory. Make sure the script is executable under the current environment with Python 3 since zargparse needs to run the script.

./zargparse.py examples/future

It is recommended to use Pipenv to build a virtual environment.

pipenv install
pipenv run ./zargparse.py examples/future

Zargparse requires Python 3 and the Jinja2 library. It has been tested with Python 3.6.

The tool does not support complex completions of arguments as described here. The completion file may need to be modified by hand after generation in order to fine tune the completions.

Nested sub-commands are not supported.

Positional arguments are not yet supported.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4