Skip to content

Skip anonymous data usage question when running in a non-tty mode #79

Description

@dgonzalez

Expected Behavior

Question for anonymous usage statistics should be skippable with a flag or detecting that there is no tty attached (to facilitate docker usage).

Current Behavior

When you run:

 clinic doctor -- node index.js

there is a question prompted that requires interaction:

May Clinic report anonymous usage statistics to improve the tool over time? (Y/n)

Environment

  • Clinic version: 2.0.0
  • Doctor version: 3.6.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions