.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH FLOW-REMOVE-TYPES "1" "November 2022" "flow-remove-types v1.2.3" "User Commands" .SH NAME flow-remove-types \- Turn your JavaScript with Flow .SH SYNOPSIS .B flow-remove-types [\fI\,options\/\fR] [\fI\,sources\/\fR] .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR Show this message .TP \fB\-v\fR, \fB\-\-version\fR Prints the current version of flow\-remove\-types .TP \fB\-i\fR, \fB\-\-ignore\fR Paths to ignore, Regular Expression .TP \fB\-x\fR, \fB\-\-extensions\fR File extensions to transform .TP \fB\-o\fR, \fB\-\-out\-file\fR The file path to write transformed file to .TP \fB\-d\fR, \fB\-\-out\-dir\fR The directory path to write transformed files within .TP \fB\-a\fR, \fB\-\-all\fR Transform all files, not just those with a @flow comment .TP \fB\-p\fR, \fB\-\-pretty\fR Remove flow types without replacing with spaces, producing prettier output but may require using source maps .TP \fB\-m\fR, \fB\-\-sourcemaps\fR Also output source map files. Optionally pass "inline" .TP \fB\-q\fR, \fB\-\-quiet\fR Does not produce any output concerning successful progress. .SH EXAMPLES .SS "Transform one file:" .IP flow\-remove\-types \-\-out\-file output.js input.js .SS "Transform many files:" .IP flow\-remove\-types \-\-out\-dir out/ input1.js input2.js .SS "Transform files in directory:" .IP flow\-remove\-types \-\-out\-dir out/ indir/ .SS "Transform files with source maps:" .IP flow\-remove\-types \-\-out\-dir out/ indir/ \-\-sourcemaps .SS "Transform files with inline source maps:" .IP flow\-remove\-types \-\-out\-dir out/ indir/ \-\-sourcemaps inline .SS "Transform stdin:" .IP cat input.js | flow\-remove\-types > output.js