~reviewer/hello-hut

ref: e1715ad00241b3512413fc617dbe598946404226 hello-hut/src/hello_hut/cli.py -rw-r--r-- 1.4 KiB
96254235 — Felix Brandt 4 months ago
Add --count to repeat the greeting

Implements: https://todo.hut.md/~reviewer/hello-hut/2
ffb728d5 — Elif Demir 6 months ago
Read defaults from ~/.config/hello-hut/config.toml

Uses tomllib where available; on Python < 3.11 the file is ignored.
adec9591 — Priya Raman 7 months ago
Add --time-of-day greetings
c928c9bd — Tomás Varga 7 months ago
Add --shout to print the greeting in capitals

Use str.upper() so that accented names keep their accents.
1e45c58c — Mira Okafor 7 months ago
cli: accept the name as a positional argument

`hello-hut Ada` reads better than `hello-hut --name Ada`.
ddfb81ba — Dana Whitfield 7 months ago
Add greeting module and command-line entry point

hello-hut greets whoever is passed with --name, or "friend" by
default.