Show HN: Xclif, file-based routing for Python CLIs
Category: library
Tags: cli-framework, python, file-based-routing
Score: 5.8/10 (Innovation: 5, Technical: 6, Documentation: 7, Utility: 5)
Xclif is a Python CLI framework that uses file-based routing, where the directory structure defines the command tree, inspired by web frameworks like Next.js. It offers a decorator + type-hint API, built-in Rich integration for beautiful output, and a custom parser that is significantly faster than Click or Typer for command dispatch. The project is interesting for its novel approach to CLI organization and its focus on developer ergonomics and performance.
Target audience: backend devs
Repository: https://github.com/ThatXliner/xclif · Python · MIT · 3 stars
View on Hacker News