Indulge in some motivation++ via random quote(s) from a JSON file.
❯ cargo install motivator
❯ cargo build --release
❯ ./target/release/motivator -f <JSON filename>
```
A smooth sea never made a skillful mariner ❯ motivator -f quotes.json
Whether you think you can or think you can't, you're right. - Henry Ford ❯ motivator -f quotes.json -t stoic
Wants make you a servant - Seneca
```
For a full list of command-line options: ```
❯ motivator -h
Indulge in some motivation++ via random quote(s). Usage: motivator [OPTIONS] Options:
-f, --file https://github.com/developerish/motivator/blob/main/quotes.jsonrun 'motivator -h' for more options.
JSON file format
{
"quotes": [
{
"quote": "Motivational words",
"author": "",
"tags": ["Stoic", "Positivity"]
}
]
}
Sample quotes file