jbernard / dotfiles

Dotfile management made easy
https://pypi.org/project/dotfiles/
Other
577 stars 61 forks source link

RFC: Add external dependency on click #39

Closed jbernard closed 8 years ago

jbernard commented 10 years ago

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

ratson commented 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.

jbernard commented 8 years ago

Done, in master

prologic commented 8 years ago

:+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.