Closed jbernard closed 8 years ago
I don't mind having an external dependency, as I pip install dotfiles
anyway. Would be nice to have tab completion support.
Done, in master
:+1:
James Mills / prologic
E: prologic@shortcircuit.net.au W: prologic.shortcircuit.net.au
On Sun, Jan 17, 2016 at 6:17 PM, Jon Bernard notifications@github.com wrote:
Done, in master
— Reply to this email directly or view it on GitHub https://github.com/jbernard/dotfiles/issues/39#issuecomment-172408729.
At the moment, dotfiles does not depend on any additional python packages and can be run directly from a cloned git repository. I've been looking at mitsuhiko's click project [1] and there are some nice benefits of adding that library as a runtime dependency. Specifically, command line option parsing could support both the existing syntax (--add, --list, etc) but could also support commands as git does (dotfiles add "path to file"). It also has bash completion baked in, so very little effort would yield a nicer user experience.
But, you would have to install an additional dependency. Does this bother anyone, or is a runtime dependency no big deal?
[1] https://github.com/mitsuhiko/click