Skip to main content

preset audit-copy

Audit codebase for copy and terminology violations

Reference

Usage

preset audit-copy [options] [path]

Arguments

  • Name
    path
    Type
    optional · default `.`
    Description

    Directory to scan

Options

  • Name
    -l, --layer \<id>
    Type
    value required
    Description

    Design system layer ID (omit for base layer)

  • Name
    -v, --verbose
    Type
    flag
    Description

    Show detailed output

  • Name
    -s, --strict
    Type
    flag
    Description

    Exit with error code on any violations

  • Name
    -c, --config \<file>
    Type
    value required
    Description

    Path to terminology config JSON file

  • Name
    -f, --format \<type>
    Type
    value required · default `table`
    Description

    Output format (table, json, sarif)

  • Name
    -o, --output \<file>
    Type
    value required
    Description

    Output file for results

Source

Defined in packages/cli/src/commands/audit-copy.ts.

Was this page helpful?

Last reviewed by @jschuyler