danielgtaylor / aglio

An API Blueprint renderer with theme support that outputs static HTML
4.75k stars 480 forks source link

Add quiet flag to suppress warning messages #312

Closed joshleeb closed 6 years ago

joshleeb commented 7 years ago

Add a quiet flag, as -q with alias --quiet, which suppresses warning messages when set. This is requested in #280.

My test plan was:

  1. Modify example.apib to throw a warning and run ./bin/aglio -i example.apib -o out.html to confirm that a warning is outputted.
  2. Run ./bin/aglio -i example.apib -o out.html -q and confirm that no warnings are displayed.
  3. Run ./bin/aglio -i example.apib -o out.html --quiet and confirm that no warnings are displayed.
  4. Run unit tests with grunt test and confirm all tests still pass.
coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.03%) to 92.5% when pulling ed8bed1fea3a61f24dee0f78eae16b57d2f42392 on joshleeb:add-quiet-flag into df554dc380c0ee6a2c83f8c62c4739491c5dd3c2 on danielgtaylor:master.

joshleeb commented 6 years ago

Closing due to inactivity. Happy to reopen later if necessary.

lynndylanhurley commented 6 years ago

Why was this not merged?