Skip to content

feat(formats): add support for Cabal (.cabal) and CMake project versions #415

@BryanFRD

Description

@BryanFRD

Package
Which package does this affect? [x] cli [x] schema [ ] docs [ ] ci

Problem / Motivation
README lists 14 supported formats. Two missing formats are consistently asked-about:

  • Haskell *.cabal (version: x.y.z)
  • CMake (project(name VERSION x.y.z) in CMakeLists.txt)

Both are mechanically simple — they fit the existing txt/regex selector pattern, with a dedicated module under src/formats/.

Proposed solution
Acceptance criteria

  • New module src/formats/cabal.rs with read/write/test fixtures under tests/fixtures/cabal/.
  • New module src/formats/cmake.rs with read/write/test fixtures under tests/fixtures/cmake/.
  • Both wired into format auto-detection.
  • README updated to 16 formats.
  • Schema updated (and synced to cloud — see schema parity issue).

Alternatives considered
None considered explicitly — this is the natural shape.

Additional context
Severity: P3

Category: cli/formats

Kit / UI candidate: No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority / somedayfeatureNew feature or capability

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions