This PR adds an info message when an argument that allows a wildcard is used and we encounter an unknown value error. For example, the following command will cause an unknown value error because --base-url has two arguments:
$ ./bin/cli upload-browser --base-url 123 xyz
If a user is using a wildcard argument and we get an unknown value, it's likely that this is because the wildcard isn't wrapped in quotes — i.e. --base-url * should be --base-url "*"
This is hard to know for sure because asterisk expansion happens in the shell before the CLI is run, so we have to guess that this happened
Goal
This PR adds an info message when an argument that allows a wildcard is used and we encounter an unknown value error. For example, the following command will cause an unknown value error because
--base-url
has two arguments:If a user is using a wildcard argument and we get an unknown value, it's likely that this is because the wildcard isn't wrapped in quotes — i.e.
--base-url *
should be--base-url "*"
This is hard to know for sure because asterisk expansion happens in the shell before the CLI is run, so we have to guess that this happened