You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"tasks": {
"build": "deno run -A https://deno.land/x/lume@v1.8.0/ci.ts"
}
}
So I can run deno task build to build a website with Lume.
I want to pass options to the build task, for example -s (to start a local server): deno task build -s works fine.
But if I pass a value to change the output url with deno task build --location="https://example.com" I get the following error:
error: Found argument '--location' which wasn't expected, or isn't valid in this context
If you tried to supply `--location` as a value rather than a flag, use `-- --location`
USAGE:
deno task <task>
For more information try --help
Hi, I have the following task in
deno.json
:So I can run
deno task build
to build a website with Lume.I want to pass options to the build task, for example
-s
(to start a local server):deno task build -s
works fine.But if I pass a value to change the output url with
deno task build --location="https://example.com"
I get the following error:If the argument
-s
is passed before--location
:it works fine, but if it's passed after:
I get that error. Maybe there's an issue parsing the double dash
--
.The text was updated successfully, but these errors were encountered: