Metadata-Version: 2.4
Name: snp-cli
Version: 2.0.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Rust
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Version Control :: Git
Summary: You Shell Not Pass: a drop-in replacement for pre-commit 4.6.2, as a single native binary
Keywords: git,hooks,pre-commit,linter,formatter
Home-Page: https://github.com/grok-rs/snp
Author: Serhii Kaliuzhnyi
License-Expression: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Changelog, https://github.com/grok-rs/snp/blob/main/CHANGELOG.md
Project-URL: Documentation, https://github.com/grok-rs/snp/tree/main/docs/user
Project-URL: Homepage, https://github.com/grok-rs/snp
Project-URL: Issues, https://github.com/grok-rs/snp/issues
Project-URL: Repository, https://github.com/grok-rs/snp

# snp-cli

**snp** ("You Shell Not Pass") is a drop-in replacement for [pre-commit](https://pre-commit.com) 4.6.2, written in
Rust: the same `.pre-commit-config.yaml`, the same commands, options, output and exit codes, with optional
lefthook-inspired extensions and native fast paths for the most popular hooks.

This distribution contains the `snp` executable only:

```sh
pipx install snp-cli
uv tool install snp-cli
uvx --from snp-cli snp run --all-files
```

```console
$ snp --version
snp 2.0.0
```

Notes:

* The PyPI project `snp` is an unrelated placeholder: `pip install snp` and `uvx snp` do not install this tool.
* The wheel does not install a `pre-commit` command and does not replace the `pre-commit` package. To make
  `pre-commit` run snp, use `snp self alias install`.
* snp does not use pre-commit's cache; it keeps its own in `~/.cache/snp` (or `$SNP_HOME`).

Documentation: <https://github.com/grok-rs/snp/tree/main/docs/user> — installation, migrating from pre-commit, CI
integration, configuration, troubleshooting.

