Kishan Patel’s Post

PSA: Typer has an auto-documenting tool! 😲 The "utils docs" command auto-generates documentation for your Typer CLI app. It's simple: Pass the module with the Typer app object. And give the file name for the output. Here's yet another reason to include typing and complete metadata in your Typer commands. Write the metadata in the code, and Typer will convert that to docs for you! 🚀 #TechTip #Python #Developer #Typer

  • graphical user interface, application, website

Have you also used "click"? I have tried both Typer and click. I tend to use Typer for internal tools where a "good enough" CLI is okay, and click for more professional, user-facing CLIs, because it seems easier (to me) to fully control its behavior. Just curious what you think. I like both tools. I also use argparse for one-off scripts for personal use, testing, etc.

To view or add a comment, sign in

Explore content categories