Skip to content

Commit

Permalink
v0.2.0 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahgorstein authored Sep 25, 2022
1 parent 6defb0e commit 4539de2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Flags:
-v, --version version for jqp
```

`jqp` also support input from STDIN.
`jqp` also supports input from STDIN.

```
➜ curl "https://api.github.com/repos/stedolan/jq/issues?per_page=2" | jqp
Expand All @@ -54,6 +54,7 @@ Flags:
| **Keybinding** | **Action** |
|:---------------|:-----------|
| `tab` | switch active section |
| `ctrl-y` | copy query to system clipboard[^1] |
| `ctrl-s` | save output to file |
| `ctrl-c` | quit program |

Expand Down Expand Up @@ -91,3 +92,7 @@ Flags:
## Credits

- [jqq](https://github.com/jcsalterego/jqq) for inspiration

--------

[^1]: `jqp` uses [https://github.com/atotto/clipboard](https://github.com/atotto/clipboard) for clipboard functionality. Things should work as expected with OSX and Windows. Linux, Unix require `xclip` or `xsel` to be installed.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

var rootCmd = &cobra.Command{
Version: "0.1",
Version: "0.2.0",
Use: "jqp",
Short: "jqp is a TUI to explore jq",
Long: `jqp is a TUI to explore the jq command line utility`,
Expand Down

0 comments on commit 4539de2

Please sign in to comment.