Hacker News new | ask | show | jobs
by mdmglr 1378 days ago
Was not aware of Fire [1]. Looks like a nice library to quickly create CLIs. I wonder how this compares to Typer, cliff, cement, and click.

[1] https://google.github.io/python-fire/guide/

1 comments

It turns your function or class into command line with one line of code. It's based on runtime type inspection so you don't even need to use decorator which most of the command line framework does (click for example).