Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] wrangler dev - undocumented/inadequately documented flags #1983

Closed
13 tasks done
rozenmd opened this issue Oct 5, 2022 · 0 comments · Fixed by cloudflare/cloudflare-docs#6177
Closed
13 tasks done
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@rozenmd
Copy link
Contributor

rozenmd commented Oct 5, 2022

Excluding deprecated flags (which shouldn't be shown in --help - #1981), we need to either document, or improve the documentation of the following fields for wrangler dev

Undocumented

  • --no-bundle Skip internal build steps and directly publish script [boolean] [default: false]
  • --assets Static assets to be served [string]
  • --var A key-value pair to be injected into the script as a variable [array]
  • --define A key-value pair to be substituted in the script [array]
  • --experimental-local Run on my machine using the Cloudflare Workers runtime [boolean] [default: false]
  • --local-upstream Host to act as origin in local mode, defaults to dev.host or route [string]
  • --node-compat Enable node.js compatibility [boolean]
  • --persist Enable persistence for local mode, using default path: .wrangler/state [boolean]
  • --persist-to Specify directory to use for local persistence (implies --persist) [string]
  • --log-level Specify logging level [choices: "debug", "info", "log", "warn", "error", "none"] [default: "log"]

Inadequately documented

  • --compatibility-date Date to use for compatibility checks [string]
  • --routes, --route Routes to upload [array]
  • -l, --local Run on my machine [boolean] [default: false]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant