Skip to content

Conversation

@onevcat
Copy link
Owner

@onevcat onevcat commented Jan 3, 2026

Summary

  • add initial ca executable target with config loading, syntax highlighting, and paging
  • wire up swift-argument-parser + swift-configuration dependencies
  • document basic usage and JSON config example

Testing

  • swift build --target Ca

@onevcat
Copy link
Owner Author

onevcat commented Jan 3, 2026

@codex review this please

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 255e1a1baa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 9 to 13
#if os(macOS)
if #available(macOS 15, *) {
return await loadWithConfiguration()
}
return .default

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Config file ignored on macOS 13/14

The new config loader only attempts to read ~/.config/ca/config.json when running on macOS 15 or newer; otherwise it returns .default immediately. Because the project still supports macOS 13+ (per repo docs), any user on macOS 13 or 14 will have their ca config silently ignored and the CLI will always use defaults, unlike Linux where configs load. This breaks the advertised config-based customization on supported macOS versions.

Useful? React with 👍 / 👎.

@onevcat onevcat merged commit a0e1504 into master Jan 3, 2026
3 checks passed
@onevcat onevcat deleted the ca-phase1 branch January 3, 2026 12:24
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.

2 participants