Skip to content

feat: add YAML output format to diff and migrate commands#25

Merged
Coding-Dev-Tools merged 2 commits into
mainfrom
Openclaw/api-contract-guardian/add-pytyped-and-main-test
May 23, 2026
Merged

feat: add YAML output format to diff and migrate commands#25
Coding-Dev-Tools merged 2 commits into
mainfrom
Openclaw/api-contract-guardian/add-pytyped-and-main-test

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

Adds YAML output format support (--format yaml / -f yaml) to the diff and migrate subcommands.

Changes:

  • diff: new --format yaml option outputs structured diff as YAML
  • migrate: new --format yaml option outputs migration guide as YAML
  • Tests: 4 new tests covering stdout YAML output and YAML file output for both commands
  • README: Updated features list to mention multiple output formats (Rich, JSON, YAML, Markdown)

Uses existing pyyaml dependency (yaml.safe_dump). All 177 tests pass.

DevForge Engineer added 2 commits May 22, 2026 10:27
- Add py.typed marker file for PEP 561 compliance (marks package as typed)
- Add TestMainModule test to verify python -m api_contract_guardian version works
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