-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Wrangler] Please document the --var
and --define
arguments
#6022
Comments
rozenmd
changed the title
[Workers] Please document the
[Wrangler] Please document the Sep 28, 2022
--var
and --define
arguments--var
and --define
arguments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in cloudflare/workers-sdk#1807
Originally posted by AaronBeaudoin September 9, 2022
By running
wrangler dev -h
I found this:Some more explanation regarding these would be appreciated. A few points:
--var
, it took me some time to figure out whyTEST=testing
didn't work. Turns out the=
, which seemed like the natural character, actually needed to be a:
. It seems this is currently only discoverable by trial and error.--define
does. Some docs with example code would go a long way towards clearing these up.Thanks so much!
The text was updated successfully, but these errors were encountered: