I am getting
$ stack-clean-old purge-older --dry-run
$
Would be nice if I was told explicitly that there is nothing to purge, or a list of what would be purged.
Btw, I wrote something similar (but less feature-rich) for cabal, see https://github.com/andreasabel/cabal-clean.
I made --dry-run is the default. If you call it without arguments, you get a list of all build artefacts that are there, in green color those that will be kept, in red color those that would be deleted. To remove stuff, you have to supply option --remove/--delete.
Maybe such an interface would also work for stack-clean-old.
I am getting
Would be nice if I was told explicitly that there is nothing to purge, or a list of what would be purged.
Btw, I wrote something similar (but less feature-rich) for cabal, see https://github.com/andreasabel/cabal-clean.
I made
--dry-runis the default. If you call it without arguments, you get a list of all build artefacts that are there, in green color those that will be kept, in red color those that would be deleted. To remove stuff, you have to supply option--remove/--delete.Maybe such an interface would also work for
stack-clean-old.