Closed joshleeb closed 6 years ago
Add a quiet flag, as -q with alias --quiet, which suppresses warning messages when set. This is requested in #280.
-q
--quiet
My test plan was:
example.apib
./bin/aglio -i example.apib -o out.html
./bin/aglio -i example.apib -o out.html -q
./bin/aglio -i example.apib -o out.html --quiet
grunt test
Coverage increased (+0.03%) to 92.5% when pulling ed8bed1fea3a61f24dee0f78eae16b57d2f42392 on joshleeb:add-quiet-flag into df554dc380c0ee6a2c83f8c62c4739491c5dd3c2 on danielgtaylor:master.
Closing due to inactivity. Happy to reopen later if necessary.
Why was this not merged?
Add a quiet flag, as
-q
with alias--quiet
, which suppresses warning messages when set. This is requested in #280.My test plan was:
example.apib
to throw a warning and run./bin/aglio -i example.apib -o out.html
to confirm that a warning is outputted../bin/aglio -i example.apib -o out.html -q
and confirm that no warnings are displayed../bin/aglio -i example.apib -o out.html --quiet
and confirm that no warnings are displayed.grunt test
and confirm all tests still pass.