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

Commit

Permalink
Merge pull request #67 from kamal/patch-1
Browse files Browse the repository at this point in the history
Update the flag from -i to -p
  • Loading branch information
urish authored Apr 18, 2018
2 parents 24aad92 + cd9f7f2 commit 1aa9298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/typewiz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ TypeWiz works by [instrumenting your code](https://medium.com/@urish/diving-into
In some scenarios, for example, when an integration with your tool chain does not exist yet, you will want to instrument your code manually using the `instrument` command:

```bash
typewiz instrument -i myFile.ts
typewiz instrument -p myFile.ts
```

The above command will instrument `myFile.ts` and write the result in place, overwriting the original input file. You can remove the `-i` flag to output the instrumented source code to the standard output, or change it to `-o filename.ts` to write the output to a different file.
The above command will instrument `myFile.ts` and write the result in place, overwriting the original input file. You can remove the `-p` flag to output the instrumented source code to the standard output, or change it to `-o filename.ts` to write the output to a different file.

### Apply discovered types

Expand Down

0 comments on commit 1aa9298

Please sign in to comment.