~reviewer/hello-hut

2c669e6e11f837044759d40b8992601a1bd3d2c2 — Dana Whitfield 2 months ago 5306422
README: add an options table and a roadmap
1 files changed, 22 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +22 -0
@@ 27,6 27,17 @@ $ hello-hut --time-of-day Grace
Good evening, Grace!
```

## Options

| Option | Description | Default |
| --- | --- | --- |
| `NAME` | Who to greet | `friend` |
| `--shout` | Print the greeting in capitals | off |
| `--time-of-day` | Say good morning, afternoon or evening | off |
| `--count N` | Repeat the greeting `N` times | `1` |
| `--color WHEN` | `auto`, `always` or `never`; `NO_COLOR` is respected | `auto` |
| `--format FORMAT` | `text` or `json` | `text` |

## Configuration

Defaults can live in `~/.config/hello-hut/config.toml`:


@@ 38,6 49,17 @@ shout = false

Every key is described in [docs/configuration.md](docs/configuration.md).

## Roadmap

- [x] Positional `NAME` argument
- [x] `--shout` and `--time-of-day`
- [x] Configuration file
- [x] `--count`, `--color` and `--format json`
- [x] Bash and zsh completions
- [ ] Localized greetings with `--lang`
- [ ] A man page
- [ ] ~~Rhyming greetings~~ (out of scope, see the tracker)

## Contributing

Patches are welcome by email.