cabal init --quiet isn't quiet
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
**Describe the bug**
I see no difference in behavior between `cabal init` and `cabal init --quiet`, at least when --non-interactive is used.
**To Reproduce**
Steps to reproduce the behavior:
```
[b@kuusi:~/tmp/aoeu]$ cabal init --non-interactive --exe proj
[Info] Guessing dependencies...
[Info] Using cabal specification: 3.12
[Warn] unknown license type, you must put a copy in LICENSE yourself.
[Info] Creating fresh file CHANGELOG.md...
[Info] Creating fresh directory ./app...
[Info] Creating fresh file app/Main.hs...
[Info] Creating fresh file proj.cabal...
[Warn] No synopsis given. You should edit the .cabal file and add one.
[Info] You may want to edit the .cabal file and add a Description field.
[b@kuusi:~/tmp/aoeu]$ rm -r proj
[b@kuusi:~/tmp/aoeu]$ cabal init --non-interactive --exe proj --quiet
[Info] Guessing dependencies...
[Info] Using cabal specification: 3.12
[Warn] unknown license type, you must put a copy in LICENSE yourself.
[Info] Creating fresh file CHANGELOG.md...
[Info] Creating fresh directory ./app...
[Info] Creating fresh file app/Main.hs...
[Info] Creating fresh file proj.cabal...
[Warn] No synopsis given. You should edit the .cabal file and add one.
[Info] You may want to edit the .cabal file and add a Description field.
```
**Expected behavior**
I would expect no output in the second invocation of `cabal init`. Well, maybe the `[Warn]` lines would still be output.
**System information**
- NixOS
```
$ cabal -V
cabal-install version 3.12.1.0
compiled using version 3.12.1.0 of the Cabal library
```
Contributor guide
Assessment
This issue has not been assessed yet.