8000 Allow ignoring files using regex pattern · Issue #117 · princjef/gomarkdoc · GitHub
[go: up one dir, main page]

Skip to content

Allow ignoring files using regex pattern #117

Open

Description

@rcontreras-te

We have a project that is using an older version of mockery where mocks are generated at a per file basis. (usually named mock_*.go). It would be nice to be able to ignore these files when generating docs. If they all resided in a single directory we'd be able to use --exclude-dirs but since they, much like unit tests, reside alongside the code, that isn't possible.

Is it possible to introduce another option to cover a case like this? --exclude-files=REGEX where we could add something like --exclude-files='mock_.*'?

Activity

  1. changed the title [-]Allow ignoring files using pattern[/-] [+]Allow ignoring files using regex pattern[/+] on Oct 8, 2024
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0