Skip to content

--silent lint option consistency #769

@Jugbot

Description

@Jugbot

According to the --help

-x, --silent                        
Show nothing except the result

Whether this results in actual output or not seems inconsistent.

For example, linting a schema.yml with issues:

vacuum lint -x schema.yml

Will fail but return nothing in stdout

vacuum lint -dx schema.yml

Will fail and return a table of results in stdout

# failures in schema1.yml or schema2.yml
vacuum lint -dx *.yml

Will fail with no output

Expected result

Ideally the --silent output will reduce the amount of noise in the output but still returns the table of failures. If this is not its intended use then having some combination of flags that would achieve this would be desireable (I was not able to find any suitable for my use case)

Version

0.20.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions