Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

CLI [RFC] #53

Closed
Closed
@urish

Description

@urish

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:

  1. 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.
  2. apply-types - for applying the collected types to the source code, e.g. in typewiz-webpack
  3. 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

No one assigned

    Labels

    discussionFor direction and implementation discussionsenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions