cli._diff

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

chirp diff— hypermedia contract diff against a git base ref.

chirp diff— hypermedia contract diff against a git base ref.

cli._diff

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

run_diff
function
def run_diff(args: argparse.Namespace) -> None

Diff hypermedia contracts for args.app against args.base.

Parameters

Name Type Default Description
args argparse.Namespace
collect_diff_result
function
def collect_diff_result(app_import: str, base: str, *, json_output: bool = False, warnings_as_errors: bool = False, deploy: bool = False, include_info: bool = False) -> InspectionResult

Return a stable git-baseline diff plus CLI presentation metadata.

Parameters

Name Type Default Description
app_import str
base str
json_output bool False
warnings_as_errors bool False
deploy bool False
include_info bool False

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