mpeterv / argparse

Feature-rich command line parser for Lua
MIT License
251 stars 43 forks source link

Generate completions for shells #19

Closed daurnimator closed 5 years ago

daurnimator commented 5 years ago

I'd love it if argparse could generate completion files for shells (bash and zsh).

iridiumlynx commented 5 years ago

daurnimator, this feature is shell-dependent, it can't be universally implemented and it may require some features not included within ANSI C.

daurnimator commented 5 years ago

This issue was used as the basis for a GSoC project. The feature has been merged into the luarocks branch: https://github.com/luarocks/argparse/

mpeterv's repository is no longer in use.