dr-cabal
dr-cabal copied to clipboard
Can `dr-cabal` read from stdin?
Following the instructions on the readme:
> cabal --store-dir=$(mktemp -d) build --dependencies-only all | dr-cabal profile
Missing: (-i|--input FILE_PATH)
Usage: dr-cabal profile (-i|--input FILE_PATH) [-s|--stacked]
Is --input required or can dr-cabal read from stdin?
I installed today with cabal install dr-cabal so that would be dr-cabal-0.2.0.0 wouldn't it?
> dr-cabal --version
Invalid option `--version'
I built from source and now am off to the races :-)
dr-cabal can read from stdin. Maybe you installed the previous version from Hackage? Try running cabal update and install again (but I see that you've already installed it from sources so all should be good 🙂 )
It's indeed unfortunate that there's no --version flag. It'll be added during the work on the following issue:
- #38
Let me know if you have any other questions or whether this issue can be closed 🙂