markmv - v1.39.2
    Preparing search index...

    Interface ValidateCliOptions

    CLI-specific options for the validate command.

    interface ValidateCliOptions {
        checkExternal: boolean;
        externalTimeout: number;
        strictInternal: boolean;
        checkClaudeImports: boolean;
        checkCircular: boolean;
        maxDepth?: number;
        onlyBroken: boolean;
        groupBy: "type" | "file";
        includeContext: boolean;
        gitDiff?: string;
        gitStaged?: boolean;
        cache?: boolean;
        cacheDir?: string;
        failFast?: boolean;
        includeDependencies?: boolean;
        checkContentFreshness?: boolean;
        freshnessThreshold?: number;
        enableAuthDetection?: boolean;
        allowAuthRequired?: boolean;
        authCredentials?: Record<string, string>;
        authHeaders?: Record<string, Record<string, string>>;
        obsidian?: boolean;
        skipDomains?: string[];
        externalRetries?: number;
        requireFrontmatter?: string[];
        enforceLinkFormat?: "absolute" | "relative" | "none";
        linkTypes?: string;
        json?: boolean;
        explain?: string;
        fix?: boolean;
        dryRun?: boolean;
        verbose?: boolean;
        force?: boolean;
    }

    Hierarchy

    Index
    checkExternal: boolean

    Enable external HTTP/HTTPS link validation

    externalTimeout: number

    Timeout for external link validation in milliseconds

    strictInternal: boolean

    Treat missing internal files as errors

    checkClaudeImports: boolean

    Validate Claude import paths

    checkCircular: boolean

    Check for circular references in file dependencies

    maxDepth?: number

    Maximum depth to traverse subdirectories when using glob patterns

    onlyBroken: boolean

    Show only broken links, not all validation results

    groupBy: "type" | "file"

    Group results by file or by link type

    includeContext: boolean

    Include line numbers and context in output

    gitDiff?: string

    Git diff range for incremental validation

    gitStaged?: boolean

    Only validate staged files

    cache?: boolean

    Enable validation result caching

    cacheDir?: string

    Cache directory path

    failFast?: boolean

    Exit on first broken link found

    includeDependencies?: boolean

    Include dependency tracking for changed files

    checkContentFreshness?: boolean

    Enable content freshness detection for external links

    freshnessThreshold?: number

    Default staleness threshold in days

    enableAuthDetection?: boolean

    Enable authentication-aware link validation

    allowAuthRequired?: boolean

    Treat auth-required links as valid (not broken)

    authCredentials?: Record<string, string>

    API keys/credentials for authenticated requests

    authHeaders?: Record<string, Record<string, string>>

    Custom headers for specific domains

    obsidian?: boolean

    Validate Obsidian wikilinks by resolving them against the whole vault

    skipDomains?: string[]

    External-link hostnames excluded from checking entirely (comma-separated on the CLI)

    externalRetries?: number

    Extra attempts for transient external failures (network errors, 5xx, 429)

    requireFrontmatter?: string[]

    Frontmatter fields every validated file must define

    enforceLinkFormat?: "absolute" | "relative" | "none"

    Internal-link href form to enforce: relative (no leading /), absolute (leading /), or none

    linkTypes?: string

    Comma-separated list of link types to validate

    json?: boolean

    Output results in JSON format

    explain?: string

    Print the recorded parse-failure stack for the named file

    fix?: boolean

    Suggest and apply fixes for broken internal links

    dryRun?: boolean

    Show what would be changed without making changes

    verbose?: boolean

    Show detailed output

    force?: boolean

    Force operation even if conflicts exist