Skip to content

Add ripgrep command family#11

Merged
maniramezan merged 2 commits into
mainfrom
feature/rg-command-family
May 9, 2026
Merged

Add ripgrep command family#11
maniramezan merged 2 commits into
mainfrom
feature/rg-command-family

Conversation

@maniramezan
Copy link
Copy Markdown
Owner

Summary

  • add a typed Rg command family with broad ripgrep flag coverage plus supporting enums for engine, sort, and color modes
  • add regression and integration tests for argument assembly, execution behavior, and ripgrep-specific state transitions like special modes and mutually exclusive flags
  • document Rg in DocC and wire the new Rg trait into the package and top-level command family index

Validation

  • swift-format lint --strict Sources/SwiftyShell/Rg/Rg.swift Tests/SwiftyShellTests/Rg/RgTests.swift
  • swift -warnings-as-errors Scripts/validate-traits.swift
  • swift -warnings-as-errors Scripts/validate-docc-coverage.swift
  • swift build -c release -Xswiftc -warnings-as-errors
  • swift test -Xswiftc -warnings-as-errors
  • swift package -Xswiftc -warnings-as-errors --allow-writing-to-directory docs generate-documentation --target SwiftyShell --output-path docs --transform-for-static-hosting --hosting-base-path SwiftyShell

@maniramezan maniramezan merged commit c9ae9de into main May 9, 2026
23 checks passed
@maniramezan maniramezan deleted the feature/rg-command-family branch May 9, 2026 22:44
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