Skip to content
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

shell completions #235

Open
peacememories opened this issue Mar 11, 2024 · 0 comments
Open

shell completions #235

peacememories opened this issue Mar 11, 2024 · 0 comments

Comments

@peacememories
Copy link

Hi, and thanks for this great tool, I don't think we would be able to move our development setup to nix if not for your work.

One point of friction I've found with arion is that it currently does not come with bash completions (at least in the nixpkgs version), which is especially noticeable in contrast with docker, which has pretty excellent completions. I noticed that arion uses optparse-applicative, which seems to be able to autogenerate a completion script, so I'm assuming to get basic command completions we would just have to properly package said script. Even better would be if this also supported fish, because that's the shell I am using right now.

Of course once this works completions could be finetuned as well, but I'd be happy with just having arion restart etc. completed instead of trying to give me arion <some folder starting with re>/ ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant