Skip to content

Make CLI output improvements#801

Merged
mtdowling merged 1 commit intomainfrom
cli-output-improvements
May 17, 2021
Merged

Make CLI output improvements#801
mtdowling merged 1 commit intomainfrom
cli-output-improvements

Conversation

@mtdowling
Copy link
Copy Markdown
Member

This commit closes #797

The CLI will now log validation events as they occur rather than waiting
until all events are encountered before writing them. This makes the CLI
a bit more responsive when validating hundreds of thousands of shapes.

Other improvements were added to the CLI output as well, including the
--severity parameter to set the minimum severity to display in output.
This can significantly cut down on noise when model files emit things <
DANGER.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This commit closes #797

The CLI will now log validation events as they occur rather than waiting
until all events are encountered before writing them. This makes the CLI
a bit more responsive when validating hundreds of thousands of shapes.

Other improvements were added to the CLI output as well, including the
--severity parameter to set the minimum severity to display in output.
This can significantly cut down on noise when model files emit things <
DANGER.
@mtdowling mtdowling force-pushed the cli-output-improvements branch from 93b9bae to a29d73f Compare May 17, 2021 06:22
@mtdowling mtdowling merged commit 8a4d315 into main May 17, 2021
@mtdowling mtdowling deleted the cli-output-improvements branch May 21, 2021 20:42
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.

Stream CLI messages rather than buffer until the end

2 participants