Skip to content

Conversation

tfausak
Copy link
Owner

@tfausak tfausak commented Mar 6, 2025

Fixes #97. Closes #100.

This is a change in behavior. Previously running cabal-gild with no arguments would wait for input on STDIN. This was to facilitate usage like cabal-gild < example.cabal. However if STDIN is a terminal, then the only thing you could do was manually input (or paste) a package description, which I suspect few people did. So now running cabal-gild with no arguments will look for a single *.cabal file in the current directory and format it in-place.

@tfausak tfausak merged commit 4f111ff into main Mar 9, 2025
10 checks passed
@tfausak tfausak deleted the gh-100-tty branch March 9, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to use cabal file in CWD
2 participants