config default-product, config profile (unknown action, missing name, --port out of range), update --version, an invalid snapshot name, an invalid az setup container name and an unusable --persist path returned 1, the code for a command that ran and failed. They now return 2 like every other rejected value. A persist directory that cannot be created is still 1.
Signed-off-by: Hector Ventura <hectorvent@gmail.com>
* fix(doctor): fail -o json on a failed check and name each product in its hints
doctor -o json now exits 1 when a check fails, as text output does; hints and HTTP errors name the product's own command (floci gcp start, ...) and the port check falls back to the product's default port; a warnings-only run no longer reads as '0 issue(s) found'; an https AWS_ENDPOINT_URL without a port means 443.
* fix(http): name the product's status command when a request times out
Both ways a request can time out now give the same message with the product's own command. The hint tests use their own local endpoints instead of port 9.