Skip to content

Consolidate the public library interface and CLI adapter #19

Description

@adrianbrowning

What to build

Consolidate the public mdcode library interface so programmatic callers receive structured results and errors without inheriting CLI process exits or terminal formatting behavior.

Acceptance criteria

  • The public library interface returns structured results, changes, and errors for supported operations.
  • CLI presentation and process-exit behavior are implemented in a thin adapter rather than in library operations.
  • Documentation and examples use the current package identity and accurate transformer signatures.
  • Library callers can provide or observe output without relying on global console state.
  • The migrated interface is covered by focused library and CLI integration tests.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestready-for-agentFully specified and ready for an AFK agent

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions