Perhaps it would be a good idea to be able to run the commands in a "dry mode" where the command is run but no modifications are made to anything.
This could be a good way to allow people to explore different commands without being scared of messing up something.
I was kind of hoping that checking project and manifest files into git would address that since you can always get back to a previous state just by doing a git checkout Project.toml Manifest.toml. Thought about having a pkg> reset or something. Perhaps we could have some kind of pkg> undo command? This would require keeping a per-environment log of operations and then updoing them, but we could do that. Would only operate on the project and manifest files since everything else should not need undoing, being immutable and all.
Yeah, perhaps git checkout is enough. I was thinking that it would skip downloading, building etc as well but perhaps this is just overkill.
I guess that could be useful, kind of a "preview" feature? So maybe pkg> preview add Gadfly would show you all the things that would be installed and added to the project & manifest. I kind of like that 鈥撀爏ometimes you do really want to know what effect something will have before doing it.
Fixed by #35
Most helpful comment
I guess that could be useful, kind of a "preview" feature? So maybe
pkg> preview add Gadflywould show you all the things that would be installed and added to the project & manifest. I kind of like that 鈥撀爏ometimes you do really want to know what effect something will have before doing it.