precious lint - Validate path(s) against lint-checkers
precious lint [OPTIONS]
<--all|--git|--staged|--git-diff-from
<REF>|--staged-with-stash|PATHS>
Validate path(s) against lint-checkers
- [PATHS]...
- A list of paths on which to operate
- --command
<COMMAND>
- The command to run. If specified, only this command will be run. This
should match the command name in your config file
- -a, --all
- Run against all files in the current directory and below
- -g, --git
- Run against files that have been modified according to git
- -s, --staged
- Run against files that are staged for a git commit
- -d, --git-diff-from
<REF>
- Run against files that are different as compared with the given
`<REF>`. This can be a branch name, like `master`, or an ref name
like `HEAD~6` or `master@{2.days.ago}`. See `git help rev-parse` for more
options. Note that this will _not_ see files with uncommitted changes in
the local working directory
- --staged-with-stash
- Run against file content that is staged for a git commit, stashing all
unstaged content first. The stash push/pop tends to do weird things to the
working directory, and is not recommended for scripting
- --label
<LABEL>
- If this is set, then only commands matching this label will be run. If
this isn't set then commands without a label or with the label
"default" will be run
- -h, --help
- Print help
- -V, --version
- Print version