<commit_before># Command Line Interface

Sass Lint can be run via its Command Line Interface (CLI). To do so, run `sass-lint` from the command line.

By default, the command will run against the glob defined by a user's `file.include` option in their config, or a glob (or single file) can be passed as the last argument to the CLI to be explicitly run against.

## Options

The following options are available for the CLI:

* `-h, --help`: Outputs usage information for the CLI
* `-V, --version`: Outputs the version number of Sass Lint
* `-c, --config [path]`: Path to the config file that should be used, relative to the directory the the command is being run in (will override other config path options)
* `-i, --ignore [pattern]`: A pattern that should be ignored from linting. Multiple patterns can be used by separating each pattern by `, `. Patterns should be wrapped in quotes (will be merged with other ignore options)
* `-q, --no-exit`: Prevents the CLI from throwing an error if there is one (useful for development work)
* `-v, --verbose`: Verbose output (fully formatted output)
 <commit_msg>:memo: Add documentation for format and output CLI options #127<commit_after># Command Line Interface

Sass Lint can be run via its Command Line Interface (CLI). To do so, run `sass-lint` from the command line.

By default, the command will run against the glob defined by a user's `file.include` option in their config, or a glob (or single file) can be passed as the last argument to the CLI to be explicitly run against.

## Options

The following options are available for the CLI:

* `-h, --help`: Outputs usage information for the CLI
* `-V, --version`: Outputs the version number of Sass Lint
* `-c, --config [path]`: Path to the config file that should be used, relative to the directory the the command is being run in (will override other config path options)
* `-i, --ignore [pattern]`: A pattern that should be ignored from linting. Multiple patterns can be used by separating each pattern by `, `. Patterns should be wrapped in quotes (will be merged with other ignore options)
* `-q, --no-exit`: Prevents the CLI from throwing an error if there is one (useful for development work)
* `-v, --verbose`: Verbose output (fully formatted output)
* `-f, --format [format]`: Pass one of the available [Eslint formats](https://github.com/eslint/eslint/tree/master/lib/formatters) to format the output of sass-lint results.
* `-o, --output [output]`: The path plus file name relative to where Sass Lint is being run from where the output should be written to.
{'fraction_non_alphanumeric': 0.08638132295719844, 'fraction_numerical': 0.0011673151750972762, 'mean_word_length': 4.111332007952286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1258572', 'n_tokens_mistral': 724, 'n_tokens_neox': 684, 'n_words': 402}