mulesoft-labs / api-console-cli

A CLI tools for the API console.
Other
14 stars 15 forks source link

Allow anonymous usage statistics to help improve our CLI tools? #32

Closed shaburov closed 5 years ago

shaburov commented 5 years ago

Docker build

Step 10/11 : RUN api-console build -n -t v4.1.0 --json api.raml
 ---> Running in b802f7bd71ed
? Allow anonymous usage statistics to help improve our CLI tools? (Y/n) The command '/bin/sh -c api-console build -n -t v4.1.0 --json api.raml' returned a non-zero code: 130

Allow anonymous usage statistics to help improve our CLI tools?

Allow anonymous usage statistics to help improve our CLI tools?

Allow anonymous usage statistics to help improve our CLI tools?

Are you seriously?

jarrodek commented 5 years ago

Hi, Thank you for issue report.

Usage tracking is nothing unusual even in CLI tools. It will help us organize the options in a way that are most commonly used.

RIght now you can pass --no-ga option to skip this question. I may add about 15 seconds timeout to proceed with disabled analytics when no user input.

shaburov commented 5 years ago

@jarrodek remove this question for the command --help. This will be enough to get to the --no-ga flag when building the docker image. Another good practice is to describe the startup parameters in the README.md file.

Thank you for your work.

jarrodek commented 5 years ago

I will fix it in the morning (PST), sorry for any inconvenience caused by this.