Building user-friendly command-line interface (CLI) applications is a fundamental skill to have as a Python developer. In the Python ecosystem, you’ll find several tools for creating this kind of application. Libraries such as argparse
, Click, and Typer are good examples of those tools in Python. Here, you built a CLI application to manage a list of to-dos using Python and Typer.
In this video course, you learned how to:
- Build a to-do application with Python and Typer
- Add commands, arguments, and options to your to-do application using Typer
- Test your to-do application using Typer’s
CliRunner
and pytest in Python
You also practiced some additional skills, such as working with JSON files using Python’s json
module and managing configuration files with Python’s configparser
module. Now you’re ready to build command-line applications.
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.