rule-api-cli

Community

Enforce clean, centralized Flask CLI patterns.

Authorbtabaska
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Flask API CLI development often suffers from inconsistent command organization and scattered registrations, making reviews and maintenance harder.

Core Features & Use Cases

  • Enforces one CLI command group per module under api/src/cli/ with @click.group() and centralized registration in api/src/cli/init.py.
  • Verifies explicit CLI argument parsing using @click.argument/@click.option with type hints and helpful error messages.
  • Standardizes error handling and testability for CLI components across hooks and services.
  • Use cases include adding a new CLI group for user management or tooling commands, while preserving a uniform architecture.

Quick Start

Create each CLI command group in its own module under api/src/cli/ and register it centrally in api/src/cli/init.py, then run the architecture checks to confirm conformance.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: rule-api-cli
Download link: https://github.com/btabaska/simpler-grants-documentation-automation/archive/main.zip#rule-api-cli

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.