cli-option-invalid

A CLI option value outside the values the command takes.

Message

A name in angle brackets is a value the message fills in.

mode

[csszyx] cli-option-invalid: `--mode <value>` is not a mode this command takes, so the command did not run.
  help: pass `--mode development` or `--mode production`, or leave it out for `production`.
  docs: https://csszyx.com/e/cli-option-invalid

parser-mode

[csszyx] cli-option-invalid: `--parser-mode <value>` is not a parser this command takes, so the command did not run.
  help: pass `--parser-mode rust` or `--parser-mode wasm`, or leave it out for `rust`.
  docs: https://csszyx.com/e/cli-option-invalid

debounce-ms

[csszyx] cli-option-invalid: `--debounce-ms <value>` is not a whole number of milliseconds from 0 to 60000, so the command did not run.
  help: pass a whole number from 0 to 60000, such as `--debounce-ms 100`, or leave it out for 50.
  docs: https://csszyx.com/e/cli-option-invalid

framework

[csszyx] cli-option-invalid: `--framework <value>` is not a framework `csszyx init` knows, so the command did not run.
  help: pass `vite-react`, `vite-vue`, `vite-svelte`, `nextjs-app` or `nextjs-pages`, or leave it out for the detected one.
  note: `nuxt`, `sveltekit` and `astro` are accepted too; for them `csszyx init` prints the Vite plugin lines to add by hand.
  docs: https://csszyx.com/e/cli-option-invalid

fail-on

[csszyx] cli-option-invalid: `--fail-on <value>` is not a level this command takes, so the command did not run.
  help: pass `--fail-on info`, `--fail-on warn` or `--fail-on error`, or leave it out for `error`.
  docs: https://csszyx.com/e/cli-option-invalid

Arguments

The values this diagnostic names.

NameType
form'mode' | 'parser-mode' | 'debounce-ms' | 'framework' | 'fail-on'
valuestringoptional