# ncase [ɪn'keɪs] — enforce a case style
## Why?
So that I can
```
% for f in *.pdf; do
mv "$f" "$(ncase -s `basename "$f" .pdf`).pdf"
done
```
## Binary
### Install
```
% cargo install ncase
```
### Usage
Enforce a case style on a string and write it to the standard output
```
% ncase --pascal this is a test string
ThisIsATestString
```
By default, enforce `tOGGLE cASE`[^1]
```
% ncase this is a test string
tHIS iS a tEST sTRING
```
## Library
### Install
Add the dependency to `Cargo.toml`
```
% cargo add ncase@0.3
```
### Usage
See on [docs.rs].
[docs.rs]: https://docs.rs/ncase/latest/ncase/