GetStream / stream-cli

Configure & manage Stream applications from the command line. 🚀
https://yarnpkg.com/en/package/getstream-cli
BSD 3-Clause "New" or "Revised" License
85 stars 19 forks source link

Unable to set config using flags #34

Closed DMeechan closed 4 years ago

DMeechan commented 4 years ago

The docs mention that the stream config:set command should work with the following flags:

OPTIONS
  -e, --email=email    Email for configuration.
  -j, --json           Output results in JSON. When not specified, returns output in a human friendly format.
  -k, --key=key        API key for configuration.
  -m, --mode=mode      Environment to run in (production or development for token and permission checking).
  -n, --name=name      Full name for configuration.
  -s, --secret=secret  API secret for configuration.
  -t, --telemetry      Enable error reporting for debugging purposes.
  -u, --url=url        API base URL for configuration.

But regardless of how I call it, the command ignores the flags and instead prompts for them individually:

$ stream config:set --name "name" --email "email" --key "key" --secret "secret" --url "url"
? What is your full name? ›
$ stream config:set --name=name --email=email --key=key --secret=secret --url=url
? What is your full name? ›
stream config:set -n name -e email -k key -s secret -u url
? What is your full name? ›

Using version: getstream-cli/0.0.61 darwin-x64 node-v12.10.0