Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bjesus authored Sep 27, 2024
1 parent 5239b9b commit db8fd85
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ curl https://news.ycombinator.com/
2. Run `go run github.com/bjesus/pipet/cmd/pipet@latest hackernews.pipet` or install Pipet and run `pipet hackernews.pipet`
3. See all of the latest hacker news in your terminal!

<details><summary>Use custom separators</summary>

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>
<details><summary>Get as JSON</summary>

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>
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>
<details><summary>Render to a template</summary>

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

0 comments on commit db8fd85

Please sign in to comment.