Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more spectral options #26

Open
sagikazarmark opened this issue Nov 3, 2020 · 0 comments
Open

Add more spectral options #26

sagikazarmark opened this issue Nov 3, 2020 · 0 comments

Comments

@sagikazarmark
Copy link
Owner

spectral lint [documents..]

lint JSON/YAML documents from files or URLs

Positionals:
  documents  Location of JSON/YAML documents. Can be either a file, a glob or fetchable resource(s) on the web.
                                                                                                 [array] [default: []]

Options:
  --version                    Show version number                                                           [boolean]
  --help                       Show help                                                                     [boolean]
  --encoding, -e               text encoding to use                                         [string] [default: "utf8"]
  --format, -f                 formatter to use for outputting results
                       [string] [choices: "json", "stylish", "junit", "html", "text", "teamcity"] [default: "stylish"]
  --output, -o                 output to a file instead of stdout                                             [string]
  --resolver                   path to custom json-ref-resolver instance                                      [string]
  --ruleset, -r                path/URL to a ruleset file                                                     [string]
  --skip-rule, -s              ignore certain rules if they are causing trouble                               [string]
  --fail-severity, -F          results of this level or above will trigger a failure exit code
                                                [string] [choices: "error", "warn", "info", "hint"] [default: "error"]
  --display-only-failures, -D  only output results equal to or greater than --fail-severity [boolean] [default: false]
  --ignore-unknown-format      do not warn about unmatched formats                          [boolean] [default: false]
  --show-unmatched-globs       show unmatched glob patterns
                                                [deprecated: use --fail-on-unmatched-globs] [boolean] [default: false]
  --fail-on-unmatched-globs    fail on unmatched glob patterns                              [boolean] [default: false]
  --verbose, -v                increase verbosity                                                            [boolean]
  --quiet, -q                  no logging - output only                                                      [boolean]
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

No branches or pull requests

1 participant