id = "jqp"
name = "jqp"
homepage = "https://github.com/noahgorstein/jqp"
description = "A TUI playground to experiment with jq."
executables = ["jqp"]
[dotfiles]
paths = ["~/.jqp.yaml"]
secret = []
side_effect = false
[commands]
format = 1
label = "Explore JSON with jq"
description = "Open the jq playground on a JSON file, with an optional starting query. Piped standard input takes precedence over the file."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "help"
kind = "help"
url = "https://github.com/noahgorstein/jqp/blob/main/README.md"
revision = "2026-10-27"
evidence = """
Usage:
jqp [query] [flags]
Flags:
--config string path to config file (default is $HOME/.jqp.yaml)
-f, --file string path to the input JSON file
-t, --theme string jqp theme
"""
[[commands.field]]
id = "query"
label = "Starting jq query"
type = "string"
position = 0
sources = ["help"]
[[commands.field]]
id = "file"
label = "Input JSON file"
type = "path"
path = { kind = "file", role = "input" }
option = ["--file", "-f"]
sources = ["help"]
[[commands.field]]
id = "theme"
label = "Theme"
type = "string"
option = ["--theme", "-t"]
sources = ["help"]
[[commands.field]]
id = "config"
label = "Config file"
type = "path"
path = { kind = "file", role = "input" }
option = ["--config"]
sources = ["help"]
[[commands.task]]
id = "open"
label = "Open a file"
fields = ["file", "query"]
required = ["file"]
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["file", "query", "theme"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["config"]