Loguru is good, but Typer is amazing, I use it for everything.
There's a years old bug in Typer with no timetable for a fix, where you can't call the Typer-decorated functions directly.
I have a tiny little production-quality library that's a thin wrapper around Typer that fixes this, called `dtyper`: https://github.com/rec/dtyper
(It also, independently, gives you a way to automatically generate a dataclass from your Typer, which is pointless for small CLIs but unmissable when you exceed a dozen or so options and arguments.)
Great article so far, expect claps!