News for hackers. Stuff that matters.
Re:Tools I use: argparse builder by hannibalhorn on Thursday October 08, 2020 @09:20AM (#24718843)
Have to plug Typer[1] here - it's built on top of click, but uses the info already there type annotations, optional keyword arguments, default arguments, etc., to create the most "common sense" CLI for a function. For all my internal tools, has saved me a ton of time and gruntwork.

[1] https://typer.tiangolo.com/

Re:Tools I use: argparse builder by schattschneider on Thursday October 08, 2020 @11:09AM (#24719780)
I've been using Typer for my projects recently and I have to agree, it's great! My only gripe with it is that its autocompletion-installation arguments can't be turned off, so it "pollutes" your help text in a way. It's not a big deal, but especially for smaller tools with small CLIs this annoys me a bit.