Comments (7)
@BretFisher @StefanScherer @samneirinck
Here's my completion module "DockerCompletion" working for the management commands. It is customizable and not based on the regex approach (See this and this).
Note: It requires PowerShell >= 5.0 and docker cli >= 1.13
from posh-docker.
Thanks for bringing this to my attention. It's true the project has been pretty silent for quite a while, mainly due to the fact I've switched to bash+WSL to interact with Docker/Kubernetes.
I've tried a few times to introduce support for the management commands, however the implementation was not so trivial, based on the regex approach I used for the tab completion. Other tab completions for docker, like bash, fish, ... use a more extensive system, pretty much handling each command separately. This allows them to clearly identify what should be completed in any scenario. I've done some initial prototyping on this in the pester-tests branch.
To answer your 2 questions:
- I can accept PR's, comment on issues, etc, but I'm also willing to give some other people the permissions to do the same. Since I'm no longer using it myself, the project is probably better off with some active maintainers, who are dedicated to support the latest features or bug fixes.
- With regards to a list of issues, I think the main issue is to support management commands. However, as noted before, it might involve some serious rework of the module (no longer based on only regex).
Let me know what you all think would be the best way to proceed.
from posh-docker.
I've updated the README to clarify the current status, and point to the DockerCompletion github page.
from posh-docker.
Thanks Captain @BretFisher ;-)
I encourage my team to use WSL right now, but for the community the posh-docker is still very useful to have same tab expansion experience like in bash.
from posh-docker.
@matt9ucci This looks great, do you consider it a replacement for posh-docker? (superset). It looks like you've had it awhile, I'll give it a shot!
from posh-docker.
@BretFisher Yes. The DockerCompletion works roughly the same as the bash completion for docker. I have started to develop it last year. The latest version supports Docker v18.03.0. The next release will support v18.06.0. Feedback is welcomed!
I think posh-docker is good for the users who use PowerShell v4.0 or lower and Docker v1.12 or lower. But for the users who use PowerShell v5.0+, including PowerShell Core, and Docker v1.13+, the DockerCompletion should be useful.
from posh-docker.
Perhaps we can just add a note to the READNE here then to point towards @matt9ucci's excellent work?
from posh-docker.
Related Issues (19)
- Could this be integrated into posh-git? That way it would come with GitHub for Windows HOT 10
- Easier installation HOT 1
- Just curious HOT 1
- Support image names HOT 2
- Issue when docker containers have multiple names
- Installation issue HOT 10
- No effect after installing HOT 1
- Support for Docker 1.13 management commands HOT 3
- Support new docker sub commands HOT 6
- Add tests
- Problems installing HOT 6
- Add support for docker-compose HOT 6
- Doc improvment HOT 3
- Please format Status and Created to time instead of strings HOT 2
- Split out ConvertFrom-Docker into separate module HOT 4
- tab completion for options such as --attach, --quiet not working HOT 3
- Conflict with TabExpansionPlusPlus
- module 'posh-docker' was not loaded
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from posh-docker.