![]() You get a -help for free $ python main.py -help You get a nice error, you are missing NAME Usage: main.py NAME Try "main.py -help" for help. Typer stands on the shoulders of a giant. Grow large: Grow in complexity as much as you want, create arbitrarily complex trees of commands and groups of subcommands, with options and arguments.Īnd it's intended to be the FastAPI of CLIs.Start simple: The simplest example adds only 2 lines of code to your app: 1 import, 1 function call.Multiple features from each parameter declaration. Automatic help, and automatic completion for all shells. Easy to use: It's easy to use for the final users.Intuitive to write: Great editor support.Typer is a library for building CLI applications that users will love using and developers will love creating. Password CLI Option and Confirmation PromptĪlternatives, Inspiration and Comparisons
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |