argparse-patterns

Community

Python argparse patterns, no deps

Authorvanman2024
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill demonstrates comprehensive Python argparse patterns using only the standard library, including subparsers, choices, actions, and validation.

Core Features & Use Cases

  • Basic Parser & Subparsers: Multi-level commands with nested subparsers.
  • Choices & Validation: Built-in choices, custom validators, and type coercion.
  • Actions & Groups: Mutually exclusive groups and argument grouping.
  • Templates & Examples: Ready-to-adapt Python templates and use cases.

Quick Start

Build a robust CLI with argparse, add nested commands, and validate inputs with custom validators.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: argparse-patterns
Download link: https://github.com/vanman2024/cli-builder/archive/main.zip#argparse-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository