Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 796 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 796 Bytes

AWS Toolkit for VSCode Telemetry

This package contains scripts and files to generate telemetry calls for the AWS Toolkit for VS Code.

Usage

To generate telemetry for VSCode, install this package in your package.json, then run:

node node_modules/@aws-toolkits/telemetry/lib/generateTelemetry.js --output=<path/to/file>.ts

The script has two arguments:

  1. --extraInput accepts lists of paths to telemetry JSON files, seperated by commas. For example, "--extraInput=abc.json,/abc/bcd.json"
  2. --output accepts one path which represents where the final output will go. For example, "--output=abc.ts"

Testing

Running Tests

To run the tests you can run them from this directory telemetry/vscode with the npm run test command.