python-module-cli

Installation
SKILL.md

Python Module CLI

Default Architecture

  • Keep domain logic importable and testable (no CLI parsing in core code).
  • Keep the CLI layer thin: parse args, assemble config, call core, format output, return an exit code.
  • Provide a single main(argv=None) -> int and a single top-level exit path.
  • Support python -m <package> via __main__.py (useful for dev/debug and environments without entry point scripts).

Quick Intake (Ask/Confirm)

  • Target Python version and packaging system (pyproject.toml, src/ layout).
  • Expected users: humans, automation/CI, or both.
  • Output contract: human text vs machine-readable (--json / --format json).
  • Config sources: flags/env/config file and precedence rules.
  • Safety requirements: destructive actions, filesystem writes, secrets handling.

Minimal main pattern:

Installs
2
GitHub Stars
2
First Seen
Mar 21, 2026
python-module-cli — kittne/codex-skills-by-codex