Skip to content

fix: export missing api and quick commands from cli/commands/__init__.py - #42

Merged
HC-ONLINE merged 1 commit into
mainfrom
fix/commands-init-export-missing-modules
Aug 4, 2026
Merged

fix: export missing api and quick commands from cli/commands/__init__.py#42
HC-ONLINE merged 1 commit into
mainfrom
fix/commands-init-export-missing-modules

Conversation

@HC-ONLINE

Copy link
Copy Markdown
Owner

fix: export missing api and quick commands from cli/commands/init.py

cli/commands/init.py was not exporting run_api or quick_cmd, even though app.py imports and registers both. This made the commands subpackage inconsistent with the actual CLI public API.

Changes:

  • Added imports for run_api (from api.py) and quick_cmd (from quick.py)
  • Updated all to include all 7 command modules alphabetically

Verified: ruff, pyright, and all pre-commit hooks pass.

The commands __init__.py was missing exports for run_api (from api.py)
and quick_cmd (from quick.py), which are imported and registered by
app.py. This inconsistency meant the commands subpackage did not
reflect the full public API of the CLI commands layer.

Added both imports and updated __all__ to include all 7 command
modules consistently.
@HC-ONLINE
HC-ONLINE merged commit edd6036 into main Aug 4, 2026
3 checks passed
@HC-ONLINE
HC-ONLINE deleted the fix/commands-init-export-missing-modules branch August 4, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant