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
cloudflared: {
type: Boolean,
default: true,
description: "Use cloudflared to tunnel the server",
},
I believe it's because the cleye does understand that passing a "false" value to a boolean actually means to disable the flag. Any value passed becomes truthy.
A possible solution is
cloudflared: {
type: String,
default: "true",
description: "Use cloudflared to tunnel the server",
},
and then checking below for
flags.cloudflared === "true"
The downside is that this becomes a string, in the help we see
Flags:
--cloudflared <string> Use cloudflared to tunnel the server (default: "true")
Thoughts? I can make a PR with this fix
The text was updated successfully, but these errors were encountered:
Running the command with
Still runs the cloudflare tunnel.
I tracked down to this being a
boolean
argumentI believe it's because the
cleye
does understand that passing a "false" value to a boolean actually means to disable the flag. Any value passed becomes truthy.A possible solution is
and then checking below for
The downside is that this becomes a string, in the help we see
Thoughts? I can make a PR with this fix
The text was updated successfully, but these errors were encountered: