cli

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

Chirp CLI registration backed by Milo's public lazy-command APIs.

The packaged entry point remainschirp.cli:main. Command implementations stay in their existing modules; this module owns typed metadata and lazy import paths…

Chirp CLI registration backed by Milo's public lazy-command APIs.

The packaged entry point remainschirp.cli:main. Command implementations stay in their existing modules; this module owns typed metadata and lazy import paths without importing a handler to render help or report a parse error.

cli

Name Type Default Description
type —
qualified_name —
element_type —
description —
source_file —
line_number —
is_autodoc —
autodoc_element —
_autodoc_template —
_autodoc_url_path —
_autodoc_page_type —
title —
doc_content_hash —

Symbols on this page

_PassthroughError
class

Carry a Chirp-owned exception past Milo's terminal normalization.

_schemas
function
def _schemas() -> dict[str, dict[str, Any]]

Build fresh precomputed schemas for one invocation-local registry.

No parameters.

_render_inspection_result
function
def _render_inspection_result(result: Any, _ctx: Any) -> str

Render structured inspection data only at the human CLI boundary.

Parameters

Name Type Default Description
result Any —
_ctx Any —
_build_cli
function
def _build_cli() -> CLI

Build one registry per invocation to isolate Milo's parser state.

No parameters.

main
function
def main(argv: list[str] | None = None) -> None

Run the packagedchirpcommand through an invocation-local Milo CLI.

Parameters

Name Type Default Description
argv list[str] | None None

View source · /home/runner/work/chirp/chirp/site/../src/chirp/cli/__init__.py:1