Skip to content

Add BIDS validator pass-through flags support #89

Closed

Description

@neuromechanist

Allow users to pass any BIDS validator flag directly to the validation command.

Problem

The BIDS validator has many useful flags (e.g., --format json_pp, --debug INFO, --max-rows 0, --ignore-nifti-headers) that users might want to use, but our CLI doesn't expose them.

Solution

  • Add .allowUnknownOption() to the validate command
  • Pass through unknown flags to the underlying BIDS validator
  • Document all available pass-through flags in the help text
  • Handle boolean, value, and array-type flags correctly

Benefits

  • Users get full access to all BIDS validator features
  • No need to update CLI when validator adds new flags
  • Better flexibility for advanced validation scenarios

Activity

  1. added
    feature
    on Feb 1, 2026
  2. added 2 commits that reference this issue on Feb 1, 2026
    bec9bca
    596b98a
  3. neuromechanist commented on Feb 2, 2026

    @neuromechanist
    ContributorAuthor

    Addressed by #90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions