[RFC] Automate the creation of shell completions #5557
Labels
help wanted
This issue is generally accepted and needs someone to pick it up
kind:feature
topic:compiler:cli
I noticed that some options like
crystal spec --verbose
are missing from the shell completions. To prevent missing completions like this from happening, I believe that some form of automation should be in place. One solution would be to extendOptionParser
to handle shell completions as well.Advantages
Disadvantages
OptionParser
now handles shell completions as well.It may also be ideal to create a command similar to
crystal docs
, but for shell completions instead.Any other solutions are also appreciated. The goal of this RFC is to prevent having to write the same thing multiple times and ensure that all possible shell completions exist.
The text was updated successfully, but these errors were encountered: