File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
packages/html-to-text-cli Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ npm i -g @html-to/text-cli
2828
2929## Usage
3030
31- - Use ` html-to-text ` command;
31+ - Use ` html-to-text ` command ( ` html-to-text.cmd ` in PowerShell) ;
3232- Pipe HTML to ` stdin ` ;
3333- Get plain text from ` stdout ` ;
3434- Pass converter options as command arguments.
@@ -39,6 +39,14 @@ npm i -g @html-to/text-cli
3939> cat ./input.html | html-to-text [commands...] [keys and values...] > ./output.txt
4040 ```
4141
42+ In PowerShell:
43+
44+ ``` shell
45+ PS> Get-Content .\i nput.html | html-to-text.cmd [commands...] [keys and values...] > .\o utput.txt
46+ ```
47+
48+ ` .ps1 ` wrapper installed by npm might not work with ` stdin ` , so use ` .cmd ` instead.
49+
4250### Available commands
4351
4452| Command | Alias | Argument | Description
You can’t perform that action at this time.
0 commit comments