Closed greymd closed 1 year ago
As of v2.2.0, all the completion files are generated by Structopt. Next step is to make CI generate automatically when new version release.
The completion files are better to be saved on the repository and should not become volatile ones in CI. To provide flexible ways for importing completion files is ideal. If the completion files on the repository, the file can be imported by plugin manager of shell such like docker-zsh-completion.
Other repositories such like bat are doing same way.
We won't fix this issue unless others make suggestions.
structopt seems support generating completion files for bash/zsh. It can be generated in CI.
https://github.com/greymd/teip/pull/22#issuecomment-670999837