README.md: describe .tokeignore file (#721)

Should help pre-empt questions like #333
This commit is contained in:
Michael Macnair 2021-02-24 13:11:34 +00:00 committed by GitHub
parent fd08c8b889
commit cc8f9607ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,6 +171,9 @@ the same semantics as `.gitignore`.
$ tokei ./foo --exclude *.rs
```
Paths to exclude can also be listed in a `.tokeignore` file, using the same
[syntax](https://git-scm.com/docs/gitignore) as .gitignore files.
#### Sorting output
By default tokei sorts alphabetically by language name, however using `--sort`
tokei can also sort by any of the columns.