Closed KorvinSzanto closed 3 years ago
Adding
// @ts-ignore
vorpal.isCommandArgKeyPairNormalized = false
will prevent this behavior: https://github.com/dthree/vorpal/commit/e74bb26535bdbac0544e42774910e6fed1bf67c8
It'd be nice if this were better documented
Thanks for the answer, I struggled for a while until finding this hidden flag. However, this default behavior is a bit confusing.
A command like
foo <password>
will incorrectly parse the "password" value when it contains an equals / equal sign:some=password
becomessome='password'
. You can escape the = to avoid this issue, but the escape gets passed through so you getsome\=password
.