Skip to content

Split CLI commands by responsibility - #4

Merged
deverman merged 1 commit into
masterfrom
codex/refactor-cli-target
Jul 12, 2026
Merged

deverman merged 1 commit into
masterfrom
codex/refactor-cli-target

Conversation

@deverman

Copy link
Copy Markdown
Owner

Summary

  • move the executable entry point into ExportUlysses.swift
  • separate shared backup options, migrate, doctor, and output formatting into focused files
  • preserve all command names, options, help text, and runtime behavior

Review findings

  • no dead code was found in the CLI target
  • no duplicate logic warranted a new abstraction
  • the target is 153 lines total; this change improves ownership rather than reducing code mechanically

Validation

  • swift test (36 tests, 1 opt-in private test skipped)
  • swift run export-ulysses --help
  • swift run export-ulysses doctor --help
  • swift run export-ulysses migrate --help
  • git diff --check

@deverman
deverman merged commit 4c005f4 into master Jul 12, 2026
2 checks passed
@deverman
deverman deleted the codex/refactor-cli-target branch July 12, 2026 16:50
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