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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions