Misterio77 / flavours

🎨💧 An easy to use base16 scheme manager that integrates with any workflow.
MIT License
506 stars 28 forks source link

Automate completion fixing #4

Closed Misterio77 closed 3 years ago

Misterio77 commented 4 years ago

At the moment we're using clap-generate to generate completion scripts. The only issue is completing apply and info with available schemes. As they are dynamic, i wasn't able to make clap's possible_values take that list. Currently, i've been able to make it work by manually changing the completion file after generation, but maybe there's a way to fix it inside the code, or maybe with a github action?

Misterio77 commented 4 years ago

The fixes aren't that hard to do, i'll probably be doing it manually.

Misterio77 commented 3 years ago

I'd like to fix this so the binary can handle generation completions on its own (would be nice for the Nix package)