diff --git a/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/builtin_script_note/snapshots/builtin_script_note.global.md b/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/builtin_script_note/snapshots/builtin_script_note.global.md index 915fa8b09e..6f7b02d348 100644 --- a/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/builtin_script_note/snapshots/builtin_script_note.global.md +++ b/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/builtin_script_note/snapshots/builtin_script_note.global.md @@ -91,20 +91,20 @@ Arguments: [ROOT] Project root directory (default: current directory) Options: - --host [HOST] Specify hostname - --port Specify port - --open [PATH] Open browser on startup - --cors Enable CORS - --strictPort Exit if specified port is already in use - --force Ignore the optimizer cache and re-bundle - --experimentalBundle Use experimental full bundle mode - --base Public base path - -l, --logLevel Set log level - --clearScreen Allow or disable clearing the screen - -d, --debug [FEAT] Show debug logs - -f, --filter Filter debug logs - -m, --mode Set env mode - -h, --help Print help + --host [host] [string] specify hostname + --port [number] specify port + --open [path] [boolean | string] open browser on startup + --cors [boolean] enable CORS + --strictPort [boolean] exit if specified port is already in use + --force [boolean] force the optimizer to ignore the cache and re-bundle + --experimentalBundle [boolean] use experimental full bundle mode (this is highly experimental) + --base [string] public base path (default: /) + -l, --logLevel [string] info | warn | error | silent + --clearScreen [boolean] allow/disable clear screen when logging + -d, --debug [feat] [string | boolean] show debug logs + -f, --filter [string] filter debug logs + -m, --mode [string] set env mode + -h, --help Display this message Examples: vp dev diff --git a/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/builtin_script_note/snapshots/builtin_script_note.local.md b/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/builtin_script_note/snapshots/builtin_script_note.local.md index 665a5b1da8..fd668f3386 100644 --- a/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/builtin_script_note/snapshots/builtin_script_note.local.md +++ b/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/builtin_script_note/snapshots/builtin_script_note.local.md @@ -79,20 +79,20 @@ Arguments: [ROOT] Project root directory (default: current directory) Options: - --host [HOST] Specify hostname - --port Specify port - --open [PATH] Open browser on startup - --cors Enable CORS - --strictPort Exit if specified port is already in use - --force Ignore the optimizer cache and re-bundle - --experimentalBundle Use experimental full bundle mode - --base Public base path - -l, --logLevel Set log level - --clearScreen Allow or disable clearing the screen - -d, --debug [FEAT] Show debug logs - -f, --filter Filter debug logs - -m, --mode Set env mode - -h, --help Print help + --host [host] [string] specify hostname + --port [number] specify port + --open [path] [boolean | string] open browser on startup + --cors [boolean] enable CORS + --strictPort [boolean] exit if specified port is already in use + --force [boolean] force the optimizer to ignore the cache and re-bundle + --experimentalBundle [boolean] use experimental full bundle mode (this is highly experimental) + --base [string] public base path (default: /) + -l, --logLevel [string] info | warn | error | silent + --clearScreen [boolean] allow/disable clear screen when logging + -d, --debug [feat] [string | boolean] show debug logs + -f, --filter [string] filter debug logs + -m, --mode [string] set env mode + -h, --help Display this message Examples: vp dev diff --git a/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_fmt_help/snapshots/command_fmt_help.md b/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_fmt_help/snapshots/command_fmt_help.md index 8d6a37a5df..9f3de357f1 100644 --- a/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_fmt_help/snapshots/command_fmt_help.md +++ b/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_fmt_help/snapshots/command_fmt_help.md @@ -10,27 +10,27 @@ Usage: vp fmt [PATH]... [OPTIONS] Format code. Options are forwarded to Oxfmt. -Arguments: - [PATH]... Files, directories, or glob patterns (default: current directory) +Available positional items: + [PATH]... Single file, path or list of paths. Glob patterns are also supported. (Be sure to quote them, otherwise your shell may expand them before passing.) Exclude patterns with `!` prefix like `'!**/fixtures/*.js'` are also supported. If not provided, current working directory is used. Mode Options: - --stdin-filepath Specify the file name used to infer the parser for stdin + --stdin-filepath=PATH Specify the file name to use to infer which parser to use Output Options: - --write Format and write files in place - --check Check whether files are formatted and show statistics + --write Format and write files in place (default) + --check Check if files are formatted, also show statistics --list-different List files that would be changed Ignore Options: - --ignore-path Path to an ignore file; may be specified multiple times - --with-node-modules Format files in node_modules, which are skipped by default + --ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not specified, .gitignore and .prettierignore in the current directory are used. + --with-node-modules Format code in node_modules directory (skipped by default) Runtime Options: - --no-error-on-unmatched-pattern Do not exit with an error when the pattern is unmatched - --threads Number of threads to use; set to 1 to use one CPU core + --no-error-on-unmatched-pattern Do not exit with error when pattern is unmatched + --threads=INT Number of threads to use. Set to 1 for using only 1 CPU core. -Options: - -h, --help Print help information +Available options: + -h, --help Prints help information Examples: vp fmt @@ -50,27 +50,27 @@ Usage: vp fmt [PATH]... [OPTIONS] Format code. Options are forwarded to Oxfmt. -Arguments: - [PATH]... Files, directories, or glob patterns (default: current directory) +Available positional items: + [PATH]... Single file, path or list of paths. Glob patterns are also supported. (Be sure to quote them, otherwise your shell may expand them before passing.) Exclude patterns with `!` prefix like `'!**/fixtures/*.js'` are also supported. If not provided, current working directory is used. Mode Options: - --stdin-filepath Specify the file name used to infer the parser for stdin + --stdin-filepath=PATH Specify the file name to use to infer which parser to use Output Options: - --write Format and write files in place - --check Check whether files are formatted and show statistics + --write Format and write files in place (default) + --check Check if files are formatted, also show statistics --list-different List files that would be changed Ignore Options: - --ignore-path Path to an ignore file; may be specified multiple times - --with-node-modules Format files in node_modules, which are skipped by default + --ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not specified, .gitignore and .prettierignore in the current directory are used. + --with-node-modules Format code in node_modules directory (skipped by default) Runtime Options: - --no-error-on-unmatched-pattern Do not exit with an error when the pattern is unmatched - --threads Number of threads to use; set to 1 to use one CPU core + --no-error-on-unmatched-pattern Do not exit with error when pattern is unmatched + --threads=INT Number of threads to use. Set to 1 for using only 1 CPU core. -Options: - -h, --help Print help information +Available options: + -h, --help Prints help information Examples: vp fmt @@ -90,27 +90,27 @@ Usage: vp fmt [PATH]... [OPTIONS] Format code. Options are forwarded to Oxfmt. -Arguments: - [PATH]... Files, directories, or glob patterns (default: current directory) +Available positional items: + [PATH]... Single file, path or list of paths. Glob patterns are also supported. (Be sure to quote them, otherwise your shell may expand them before passing.) Exclude patterns with `!` prefix like `'!**/fixtures/*.js'` are also supported. If not provided, current working directory is used. Mode Options: - --stdin-filepath Specify the file name used to infer the parser for stdin + --stdin-filepath=PATH Specify the file name to use to infer which parser to use Output Options: - --write Format and write files in place - --check Check whether files are formatted and show statistics + --write Format and write files in place (default) + --check Check if files are formatted, also show statistics --list-different List files that would be changed Ignore Options: - --ignore-path Path to an ignore file; may be specified multiple times - --with-node-modules Format files in node_modules, which are skipped by default + --ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not specified, .gitignore and .prettierignore in the current directory are used. + --with-node-modules Format code in node_modules directory (skipped by default) Runtime Options: - --no-error-on-unmatched-pattern Do not exit with an error when the pattern is unmatched - --threads Number of threads to use; set to 1 to use one CPU core + --no-error-on-unmatched-pattern Do not exit with error when pattern is unmatched + --threads=INT Number of threads to use. Set to 1 for using only 1 CPU core. -Options: - -h, --help Print help information +Available options: + -h, --help Prints help information Examples: vp fmt @@ -130,27 +130,27 @@ Usage: vp fmt [PATH]... [OPTIONS] Format code. Options are forwarded to Oxfmt. -Arguments: - [PATH]... Files, directories, or glob patterns (default: current directory) +Available positional items: + [PATH]... Single file, path or list of paths. Glob patterns are also supported. (Be sure to quote them, otherwise your shell may expand them before passing.) Exclude patterns with `!` prefix like `'!**/fixtures/*.js'` are also supported. If not provided, current working directory is used. Mode Options: - --stdin-filepath Specify the file name used to infer the parser for stdin + --stdin-filepath=PATH Specify the file name to use to infer which parser to use Output Options: - --write Format and write files in place - --check Check whether files are formatted and show statistics + --write Format and write files in place (default) + --check Check if files are formatted, also show statistics --list-different List files that would be changed Ignore Options: - --ignore-path Path to an ignore file; may be specified multiple times - --with-node-modules Format files in node_modules, which are skipped by default + --ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not specified, .gitignore and .prettierignore in the current directory are used. + --with-node-modules Format code in node_modules directory (skipped by default) Runtime Options: - --no-error-on-unmatched-pattern Do not exit with an error when the pattern is unmatched - --threads Number of threads to use; set to 1 to use one CPU core + --no-error-on-unmatched-pattern Do not exit with error when pattern is unmatched + --threads=INT Number of threads to use. Set to 1 for using only 1 CPU core. -Options: - -h, --help Print help information +Available options: + -h, --help Prints help information Examples: vp fmt diff --git a/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_helper/snapshots/command_helper.md b/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_helper/snapshots/command_helper.md index baa96f267f..052dd3510d 100644 --- a/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_helper/snapshots/command_helper.md +++ b/crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_helper/snapshots/command_helper.md @@ -41,51 +41,51 @@ pack help message ``` VITE+ - The Unified Toolchain for the Web -Usage: vp pack [...FILES] [OPTIONS] +Usage: vp pack [...files] [OPTIONS] Build a library. Options are forwarded to Vite+ Pack. Arguments: - [...FILES] Files to bundle + [...files] Bundle files Options: - -f, --format Bundle format: esm, cjs, iife, umd (default: esm) + -f, --format Bundle format: esm, cjs, iife, umd (default: esm) --clean Clean output directory, --no-clean to disable - --deps.never-bundle Mark dependencies as external + --deps.never-bundle Mark dependencies as external --minify Minify output --devtools Enable devtools integration - --debug [FEAT] Show debug logs - --target Bundle target, e.g "es2015", "esnext" - -l, --logLevel Set log level: info, warn, error, silent + --debug [feat] Show debug logs + --target Bundle target, e.g "es2015", "esnext" + -l, --logLevel Set log level: info, warn, error, silent --fail-on-warn Fail on warnings (default: true) --no-write Disable writing files to disk, incompatible with watch mode (default: true) - -d, --out-dir Output directory (default: dist) + -d, --out-dir Output directory (default: dist) --treeshake Tree-shake bundle (default: true) --sourcemap Generate source map (default: false) --shims Enable cjs and esm shims (default: false) - --platform Target platform (default: node) + --platform Target platform (default: node) --dts Generate dts files --publint Enable publint (default: false) --attw Enable Are the types wrong integration (default: false) --unused Enable unused dependencies check (default: false) - -w, --watch [PATH] Watch mode - --ignore-watch Ignore custom paths in watch mode - --from-vite [VITEST] Reuse config from Vite or Vitest + -w, --watch [path] Watch mode + --ignore-watch Ignore custom paths in watch mode + --from-vite [vitest] Reuse config from Vite or Vitest --report Size report (default: true) - --env.* Define compile-time env variables - --env-file Load environment variables from a file, when used together with --env, variables in --env take precedence - --env-prefix Prefix for env variables to inject into the bundle (default: VITE_PACK_,TSDOWN_) - --on-success Command to run on success - --copy Copy files to output dir - --public-dir Alias for --copy, deprecated - --tsconfig Set tsconfig path + --env.* Define compile-time env variables + --env-file Load environment variables from a file, when used together with --env, variables in --env take precedence + --env-prefix Prefix for env variables to inject into the bundle (default: TSDOWN_) + --on-success Command to run on success + --copy Copy files to output dir + --public-dir Alias for --copy, deprecated + --tsconfig Set tsconfig path --unbundle Unbundle mode - --root Root directory of input files + --root Root directory of input files --exe Bundle as executable - -W, --workspace [DIR] Enable workspace mode - --concurrency Maximum number of Rolldown builds to run in parallel - -F, --filter Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name + -W, --workspace [dir] Enable workspace mode + --concurrency Maximum number of Rolldown builds to run in parallel + -F, --filter Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name --exports Generate export-related metadata for package.json (experimental) -h, --help Display this message @@ -109,27 +109,27 @@ Usage: vp fmt [PATH]... [OPTIONS] Format code. Options are forwarded to Oxfmt. -Arguments: - [PATH]... Files, directories, or glob patterns (default: current directory) +Available positional items: + [PATH]... Single file, path or list of paths. Glob patterns are also supported. (Be sure to quote them, otherwise your shell may expand them before passing.) Exclude patterns with `!` prefix like `'!**/fixtures/*.js'` are also supported. If not provided, current working directory is used. Mode Options: - --stdin-filepath Specify the file name used to infer the parser for stdin + --stdin-filepath=PATH Specify the file name to use to infer which parser to use Output Options: - --write Format and write files in place - --check Check whether files are formatted and show statistics + --write Format and write files in place (default) + --check Check if files are formatted, also show statistics --list-different List files that would be changed Ignore Options: - --ignore-path Path to an ignore file; may be specified multiple times - --with-node-modules Format files in node_modules, which are skipped by default + --ignore-path=PATH Path to ignore file(s). Can be specified multiple times. If not specified, .gitignore and .prettierignore in the current directory are used. + --with-node-modules Format code in node_modules directory (skipped by default) Runtime Options: - --no-error-on-unmatched-pattern Do not exit with an error when the pattern is unmatched - --threads Number of threads to use; set to 1 to use one CPU core + --no-error-on-unmatched-pattern Do not exit with error when pattern is unmatched + --threads=INT Number of threads to use. Set to 1 for using only 1 CPU core. -Options: - -h, --help Print help information +Available options: + -h, --help Prints help information Examples: vp fmt @@ -151,67 +151,80 @@ Usage: vp lint [PATH]... [OPTIONS] Lint code. Options are forwarded to Oxlint. -Arguments: - [PATH]... Files or directories to lint +Available positional items: + [PATH]... Single file, single path or list of paths Basic Configuration: - --tsconfig Override the TypeScript config used for import resolution - -Rule Severity: - -A, --allow Allow a rule or category - -W, --warn Emit a warning for a rule or category - -D, --deny Emit an error for a rule or category - -Plugins: - --disable-unicorn-plugin Disable the unicorn plugin, which is enabled by default - --disable-oxc-plugin Disable Oxc-specific rules, which are enabled by default - --disable-typescript-plugin Disable the TypeScript plugin, which is enabled by default - --import-plugin Enable the import plugin - --react-plugin Enable the React plugin - --jsdoc-plugin Enable the JSDoc plugin - --jest-plugin Enable the Jest plugin - --vitest-plugin Enable the Vitest plugin - --jsx-a11y-plugin Enable the JSX accessibility plugin - --nextjs-plugin Enable the Next.js plugin - --react-perf-plugin Enable the React performance plugin - --promise-plugin Enable the promise plugin - --node-plugin Enable the Node.js plugin - --vue-plugin Enable the Vue plugin + --tsconfig=<./tsconfig.json> Override the TypeScript config used for import resolution. Oxlint automatically discovers the relevant `tsconfig.json` for each file. Use this only when your project uses a non-standard tsconfig name or location. + +Allowing / Denying Multiple Lints: + Accumulate rules and categories from left to right on the command-line. + For example `-D correctness -A no-debugger` or `-A all -D no-debugger`. + The categories are: + * `correctness` - Code that is outright wrong or useless (default) + * `suspicious` - Code that is most likely wrong or useless + * `pedantic` - Lints which are rather strict or have occasional false positives + * `perf` - Code that could be written in a more performant way + * `style` - Code that should be written in a more idiomatic way + * `restriction` - Lints which prevent the use of language and library features + * `nursery` - New lints that are still under development + * `all` - All categories listed above except `nursery`. Does not enable plugins automatically. + -A, --allow=NAME Allow the rule or category (suppress the lint) + -W, --warn=NAME Deny the rule or category (emit a warning) + -D, --deny=NAME Deny the rule or category (emit an error) + +Enable/Disable Plugins: + --disable-unicorn-plugin Disable unicorn plugin, which is turned on by default + --disable-oxc-plugin Disable oxc unique rules, which is turned on by default + --disable-typescript-plugin Disable TypeScript plugin, which is turned on by default + --import-plugin Enable import plugin and detect ESM problems. + --react-plugin Enable react plugin, which is turned off by default + --jsdoc-plugin Enable jsdoc plugin and detect JSDoc problems + --jest-plugin Enable the Jest plugin and detect test problems + --vitest-plugin Enable the Vitest plugin and detect test problems + --jsx-a11y-plugin Enable the JSX-a11y plugin and detect accessibility problems + --nextjs-plugin Enable the Next.js plugin and detect Next.js problems + --react-perf-plugin Enable the React performance plugin and detect rendering performance problems + --promise-plugin Enable the promise plugin and detect promise usage problems + --node-plugin Enable the node plugin and detect node usage problems + --vue-plugin Enable the vue plugin and detect vue usage problems Fix Problems: - --fix Fix issues when possible - --fix-suggestions Apply auto-fixable suggestions + --fix Fix as many issues as possible. Only unfixed issues are reported in the output. + --fix-suggestions Apply auto-fixable suggestions. May change program behavior. --fix-dangerously Apply dangerous fixes and suggestions Ignore Files: - --ignore-path Use the specified .eslintignore file - --ignore-pattern Add file patterns to ignore - --no-ignore Disable file exclusion from ignore rules + --ignore-path=PATH Specify the file to use as your `.eslintignore` + --ignore-pattern=PAT Specify patterns of files to ignore (in addition to those in `.eslintignore`) + --no-ignore Disable excluding files from `.eslintignore` files, --ignore-path flags and --ignore-pattern flags Handle Warnings: - --quiet Report errors only - --deny-warnings Exit non-zero when warnings are reported - --max-warnings Set the warning threshold before exiting non-zero + --quiet Disable reporting on warnings, only errors are reported + --deny-warnings Ensure warnings produce a non-zero exit code + --max-warnings=INT Specify a warning threshold, which can be used to force exit with an error status if there are too many warning-level rule violations in your project Output: - -f, --format Set output format: checkstyle, default, agent, github, gitlab, json, junit, sarif, stylish, or unix - --debug Enable comma-separated debug output options: files or timings + -f, --format=ARG Use a specific output format. Possible values: `checkstyle`, `default`, `agent`, `github`, `gitlab`, `json`, `junit`, `sarif`, `stylish`, `unix` + --debug=OPTIONS Enable debug output options. Options are comma-separated. Possible values: + * `files` - Print the list of files that will be linted, then exit. + * `timings` - Enable per-rule timing information. Miscellaneous: - --silent Do not display diagnostics - --no-error-on-unmatched-pattern Do not exit with an error when no files are selected for linting - --threads Number of threads to use; set to 1 to use one CPU core - --print-config Print the resolved configuration without linting + --silent Do not display any diagnostics + --no-error-on-unmatched-pattern Do not exit with an error when no files are selected for linting (for example, after applying ignore patterns) + --threads=INT Number of threads to use. Set to 1 for using only 1 CPU core. + --print-config This option outputs the configuration to be used. When present, no linting is performed and only config-related options are valid. -Inline Configuration: - --report-unused-disable-directives Report unused oxlint-disable directives - --report-unused-disable-directives-severity Report unused disable directives at the specified severity +Inline Configuration Comments: + --report-unused-disable-directives Report directive comments like `// oxlint-disable-line`, when no errors would have been reported on that line anyway + --report-unused-disable-directives-severity=SEVERITY Same as `--report-unused-disable-directives`, but allows you to specify the severity level of the reported errors. Only one of these two options can be used at a time. -Options: - --rules List all registered rules - --type-aware Enable rules requiring type information - --type-check Enable experimental type checking and compiler diagnostics - -h, --help Print help information +Available options: + --rules List all the rules that are currently registered + --type-aware Enable rules that require type information + --type-check Enable experimental type checking (includes TypeScript compiler diagnostics) + -h, --help Prints help information Examples: vp lint @@ -237,25 +250,25 @@ Arguments: [ROOT] Project root directory (default: current directory) Options: - --target Transpile target - --outDir Output directory - --assetsDir Directory for generated assets - --assetsInlineLimit Static asset inline threshold - --ssr [ENTRY] Build for server-side rendering - --sourcemap [MODE] Output source maps - --minify [MINIFIER] Enable or disable minification - --manifest [NAME] Emit a build manifest - --ssrManifest [NAME] Emit an SSR manifest - --emptyOutDir Empty outDir even when it is outside root - -w, --watch Rebuild when files change - --app Build an application with the builder API - --base Public base path - -l, --logLevel Set log level - --clearScreen Allow or disable clearing the screen - -d, --debug [FEAT] Show debug logs - -f, --filter Filter debug logs - -m, --mode Set env mode - -h, --help Print help + --target [string] transpile target (default: 'baseline-widely-available') + --outDir [string] output directory (default: dist) + --assetsDir [string] directory under outDir to place assets in (default: assets) + --assetsInlineLimit [number] static asset base64 inline threshold in bytes (default: 4096) + --ssr [entry] [string] build specified entry for server-side rendering + --sourcemap [output] [boolean | "inline" | "hidden"] output source maps for build (default: false) + --minify [minifier] [boolean | "oxc" | "terser" | "esbuild"] enable/disable minification, or specify minifier to use (default: oxc) + --manifest [name] [boolean | string] emit build manifest json + --ssrManifest [name] [boolean | string] emit ssr manifest json + --emptyOutDir [boolean] force empty outDir when it's outside of root + -w, --watch [boolean] rebuilds when modules have changed on disk + --app [boolean] same as `builder: {}` + --base [string] public base path (default: /) + -l, --logLevel [string] info | warn | error | silent + --clearScreen [boolean] allow/disable clear screen when logging + -d, --debug [feat] [string | boolean] show debug logs + -f, --filter [string] filter debug logs + -m, --mode [string] set env mode + -h, --help Display this message Examples: vp build @@ -289,79 +302,79 @@ Arguments: [FILTERS]... Test file filters Options: - -r, --root Root path - -u, --update [TYPE] Update snapshot (accepts boolean, "new", "all" or "none") + -r, --root Root path + -u, --update [type] Update snapshot (accepts boolean, "new", "all" or "none") -w, --watch Enable watch mode - -t, --testNamePattern Run tests with full names matching the specified regexp pattern - --dir Base directory to scan for the test files + -t, --testNamePattern Run tests with full names matching the specified regexp pattern + --dir Base directory to scan for the test files --ui Enable UI --open Open UI automatically (default: !process.env.CI) - --api [PORT] Specify server port; if true, defaults to 51204 - --silent [VALUE] Silent console output from tests. Use 'passed-only' to see logs from failing tests only + --api [port] Specify server port. Note if the port is already being used, Vite will automatically try the next available port so this may not be the actual port the server ends up listening on. If true will be set to 51204. Use '--help --api' for more info. + --silent [value] Silent console output from tests. Use 'passed-only' to see logs from failing tests only. --hideSkippedTests Hide logs for skipped tests - --reporter Specify reporters (default, agent, minimal, blob, verbose, dot, json, tap, tap-flat, junit, tree, hanging-process, github-actions) - --outputFile Write test results to a file; use dot notation for individual outputs of multiple reporters (for example, --outputFile.tap=./tap.txt) - --coverage Enable coverage reporting - --mode Override Vite mode (default: test or benchmark) - --isolate Run every test file in isolation. Use --no-isolate to disable (default: true) - --globals Inject APIs globally + --reporter Specify reporters (default, agent, minimal, blob, verbose, dot, json, tap, tap-flat, junit, tree, hanging-process, github-actions) + --outputFile Write test results to a file when supporter reporter is also specified, use cac's dot notation for individual outputs of multiple reporters (example: --outputFile.tap=./tap.txt) + --coverage Enable coverage report. Use '--help --coverage' for more info. + --mode Override Vite mode (default: test or benchmark) + --isolate Run every test file in isolation. To disable isolation, use --no-isolate (default: true) + --globals Inject apis globally --dom Mock browser API with happy-dom - --browser Run tests in the browser; equivalent to --browser.enabled (default: false) - --pool Specify pool when not running in the browser (default: forks) - --execArgv