Skip to content

Commit db8fd85

Browse files
authored
Update README.md
1 parent 5239b9b commit db8fd85

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,12 @@ curl https://news.ycombinator.com/
2828
2. Run `go run github.com/bjesus/pipet/cmd/pipet@latest hackernews.pipet` or install Pipet and run `pipet hackernews.pipet`
2929
3. See all of the latest hacker news in your terminal!
3030

31+
<details><summary>Use custom separators</summary>
32+
33+
Use the `--separator` (or `-s`) flag to specify custom separators for text output. For example, run `pipet -s "\n" -s "->" hackernews.pipet` to see each item in a new line, with `->` between the title and the domain.</details>
3134
<details><summary>Get as JSON</summary>
3235

33-
Use the `--json` flag to make Pipet collect the results into a nice JSON. For example, run `pipet --json hackernews.pipet` to a JSON representation of the above results.</details>
36+
Use the `--json` flag to make Pipet collect the results into a nice JSON. For example, run `pipet --json hackernews.pipet` to get a JSON representation of the above results.</details>
3437
<details><summary>Render to a template</summary>
3538

3639
Add a template file called `hackernews.tpl` next to your `hackernews.pipet` file with this content:

0 commit comments

Comments
 (0)