Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mdmglr
· 4y ago · 0 comments
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/
Comments
[–]
link89
4y ago
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).