Build Command Line Tools with argparse, Click, and Rich - Python CLI Tutorial #37

23views
00
14:16
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
Learn CLI Applications! In this tutorial, you will learn how to build professional command line tools using three Python libraries: argparse, Click, and Rich. What you will learn: - Creating argument parsers with ArgumentParser - Adding positional arguments and optional flags - Using store_true for boolean flag arguments - Setting argument types and default values - Building subcommands with Click decorators - Using click.group() and click.command() - Adding colored output with click.style() - Validating input with click.Choice - Creating formatted tables with Rich - Building styled panels with Rich markup - Formatting numbers with thousands separators - Combining Console, Table, and Panel for reports Timestamps: 0:00 - Introduction 0:33 - argparse Basics Explained 1:00 - argparse Basics Demo 4:49 - Click Framework Explained 5:16 - Click Application Demo 9:01 - Rich Formatting Explained 9:28 - Rich Report Demo 12:40 - Recap 13:20 - End Source code: https://github.com/GoCelesteAI/python_cli_applications Previous: Lesson 36 - SQLAlchemy ORM https://youtu.be/PLACEHOLDER_L36 Next: Lesson 38 - REST APIs Coming soon! --- Python Tutorial for Beginners playlist - Learn Python from scratch with hands-on coding demos. #Python #CLI #PythonTutorial #CommandLine #argparse #Click #Rich #LearnPython #PythonForBeginners #CodingTutorial
Back to tutorials

Duration

14:16

Published

February 12, 2026

Added to Codegiz

March 15, 2026

Open in YouTube