dotbot
dotbot copied to clipboard
Add a Dry-run option
A dry-run option would be nice (e.g: ./install --dry-run
).
It would allow testing new configs without wrecking your home.
That looks interesting, I'd be willing to add this to Dotbot. Were you interested in submitting a PR for this? Alternatively, I can implement it at some point.
A small note, this might behave in unintuitive ways for people who are using plugins that are not aware of --dry-run
. Not sure how exactly we should handle this.
I could take a look, but my experience with python is close to zero. And for the plugin problem, I haven't looked at the code yet so I don't know if it is possible, but my idea was to pass along the dry-run option to the plugins that do eventually support it and to otherwise not run the plugin at all (of course with a nice logging message).
Ah, maybe it makes sense for me to implement it, then. I like the idea of checking if plugins support it and skipping the plugin otherwise.
@anishathalye any progress or movement on this? Would like a dry run option as well. Just got a new machine and started setting up the basics before trying out dotbot.
It's on my todo list, but I haven't implemented this feature yet.
@anishathalye Is this feature still on the to-do list? It would be very helpful to test your configuration.