ghcid icon indicating copy to clipboard operation
ghcid copied to clipboard

Add flag for "dry-run" mode of evaluable comments

Open TheMatten opened this issue 5 years ago • 1 comments

When using --allow-eval with unfamiliar codebases, it may be useful to have flag that disables execution of evaluable comments, while still showing them in REPL for inspection - compared to e.g. custom Setup.hs, these comments aren't contained in one, easy to inspect file, but can be scattered throughout the codebase, possibly including some malicious code that could be overlooked.

TheMatten avatar Jun 16 '20 16:06 TheMatten

Seems perfectly reasonable. Patch welcome!

ndmitchell avatar Jun 19 '20 15:06 ndmitchell