Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xsteadfastx/xonsh-docker-tabcomplete
https://github.com/xsteadfastx/xonsh-docker-tabcomplete
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/xsteadfastx/xonsh-docker-tabcomplete
- Owner: xsteadfastx
- License: mit
- Created: 2016-07-15T08:49:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-27T09:03:19.000Z (about 6 years ago)
- Last Synced: 2024-11-08T22:57:54.845Z (about 1 month ago)
- Language: Python
- Size: 34.2 KB
- Stars: 10
- Watchers: 4
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-xontribs - docker_tabcomplete - Adds tabcomplete functionality to docker inside of xonsh. (Tab-completions)
README
# xonsh-docker-tabcomplete
[![Build Status](https://travis-ci.org/xsteadfastx/xonsh-docker-tabcomplete.svg?branch=master)](https://travis-ci.org/xsteadfastx/xonsh-docker-tabcomplete)
[![PyPI](https://img.shields.io/pypi/v/xonsh-docker-tabcomplete.svg?maxAge=2592000)](https://pypi.python.org/pypi/xonsh-docker-tabcomplete)
[![PyPI](https://img.shields.io/pypi/pyversions/xonsh-docker-tabcomplete.svg?maxAge=2592000)](https://pypi.python.org/pypi/xonsh-docker-tabcomplete)
[![license](https://img.shields.io/github/license/xsteadfastx/xonsh-docker-tabcomplete.svg?maxAge=2592000)](https://github.com/xsteadfastx/xonsh-docker-tabcomplete)This provides tab completion for [docker](https://www.docker.com/) in [xonsh](http://xon.).
This got born from a [problem](https://github.com/xonsh/xonsh/issues/1429) with the official bash completion for docker in xonsh. This script tries to use the docker api as much as possible. Its far from perfect and kind of alphaish. Im happy for every idea and pull request.
## Implemented
All arguments and commands for docker version 1.10.
## Installation
`pip install xonsh-docker-tabcomplete`
or
`pip install git+https://github.com/xsteadfastx/xonsh-docker-tabcomplete.git`
## Using
Put `xontrib load docker_tabcomplete` in your `~/.xonshrc`.
## Configuration
These are the environment variables that can be used to configurate the docker tabcompletion:
- `DOCKER_BASE_URL`: The base url [docker-py](https://github.com/docker/docker-py) needs to connect. It defaults to `unix://var/run/docker.sock`.