diff --git a/README.md b/README.md index 1b48b2e..3927312 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,13 @@ # cspell-cli +## Usage + +To check all files under the current directory, run: + +``` +npx cspell-cli --gitignore . +``` + ## Setup [pre-commit](https://pre-commit.com) Hook This repository enables using [cspell](https://github.com/streetsidesoftware/cspell) as a [pre-commit](https://pre-commit.com) hook.