This repository was archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
This repository was archived by the owner on Oct 5, 2021. It is now read-only.
CLI [RFC] #53
Copy link
Copy link
Closed
Labels
discussionFor direction and implementation discussionsFor direction and implementation discussionsenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
After trying TypeWiz on several different projects, I find it useful to have a CLI tool that will be able to perform the following tasks:
- instrument - in case of a custom configuration not supported by one of our plugins. One such example is rtf.js - see @zoehneto's comment explaining why it is needed.
- apply-types - for applying the collected types to the source code, e.g. in typewiz-webpack
- type-coverage - print the percentage of type coverage (can also be used to enforce specific coverage target in CI), see feat: calculate type coverage #48
I am thinking about renaming the core API of typewiz to typewiz-core, and then using typewiz package to the CLI, so as a user you just install typewiz and can use it (most users shouldn't care about the API part too much).
I'd love to hear user thoughts about this!
Metadata
Metadata
Assignees
Labels
discussionFor direction and implementation discussionsFor direction and implementation discussionsenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed