Skip to content

Allow specifying multiple files on the command line #78

Closed
@chriselion

Description

@chriselion

This is similar to #40 but slightly different. I'd like to be able to pass multiple file names on the command line and check each one in sequence, e.g. markdown-link-check file1.md file2.md The motivation for this is trying to add a hook with pre-commit (https://pre-commit.com/); this splits the full list of files to check into smaller lists, but currently only one file from each list is checked.

This would also potentially allow some optimizations; for example if a URL appears in two markdown files, you would only need to make the request once and cache the status for subsequent checks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature request or implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions