Skip to content

v0.1.2 - Add interactive demo menu system

Latest

Choose a tag to compare

@oharu121 oharu121 released this 25 Jan 11:36
· 5 commits to main since this release
81e73a7

Status: Completed
Date: 2026-01-25

Goal

Transform python-clack-demo from a single fixed demo into an interactive menu where users can choose different demos to explore. Each demo showcases different features and use cases of the library.

Summary of Changes

  • Added interactive demo menu using select() to choose demos
  • Created 5 focused demo modules covering different use cases:
    • Quick Tour: Overview of all prompt types
    • Form Wizard: Multi-step form using group() with validation
    • Configuration Builder: Settings with disabled options
    • Progress & Logging: Spinner states and all log levels
    • Validation Showcase: Input validation patterns
  • Switched from mypy to pyright for type checking
  • Fixed type errors in prompts.py using cast()
  • Updated CI workflow to use pyright
  • Added tool cache documentation to dev notes

Files Modified

Breaking Changes

None

Deprecations

  • mypy configuration removed in favor of pyright