We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 337904b commit 1ce7696Copy full SHA for 1ce7696
packages/html-to-text-cli/README.md
@@ -28,7 +28,7 @@ npm i -g @html-to/text-cli
28
29
## Usage
30
31
-- Use `html-to-text` command;
+- Use `html-to-text` command (`html-to-text.cmd` in PowerShell);
32
- Pipe HTML to `stdin`;
33
- Get plain text from `stdout`;
34
- Pass converter options as command arguments.
@@ -39,6 +39,14 @@ npm i -g @html-to/text-cli
39
> cat ./input.html | html-to-text [commands...] [keys and values...] > ./output.txt
40
```
41
42
+In PowerShell:
43
+
44
+```shell
45
+PS> Get-Content .\input.html | html-to-text.cmd [commands...] [keys and values...] > .\output.txt
46
+ ```
47
48
+`.ps1` wrapper installed by npm might not work with `stdin`, so use `.cmd` instead.
49
50
### Available commands
51
52
| Command | Alias | Argument | Description
0 commit comments