name: cli-yq description: >- This skill should be used when the user needs help with yq CLI commands, flags, and troubleshooting.
yq CLI Reference
Compact command reference for yq v1.7.
- 0 total commands
- 0 command flags + 24 global flags
- 0 extracted usage examples
- Max nesting depth: 0
When to Use
- Constructing or validating
yqcommands - Looking up flags/options fast
- Troubleshooting failed invocations
Top-Level Commands
Command format examples:
Global Flags
| Flag | Short | Type | Description |
|---|---|---|---|
--args |
`` | bool | consume remaining arguments as positional |
--ascii-output |
-a |
string | output strings by only ASCII characters |
--build-configuration |
`` | bool | show jq's build configuration; |
--color-output |
-C |
bool | colorize JSON output; |
--compact-output |
-c |
bool | compact instead of pretty-printed output; |
--exit-status |
-e |
bool | set exit status code based on the output; |
--from-file |
-f |
string | load filter from the file; |
--help |
-h |
bool | show this help message and exit |
--indent |
`` | string | use n spaces for indentation (max 7 spaces); |
--join-output |
-j |
bool | implies -r and output without newline after |
--jsonargs |
`` | bool | consume remaining arguments as positional |
--monochrome-output |
-M |
bool | disable colored output; |
--null-input |
-n |
string | use null as the single input value; |
--raw-input |
-R |
string | read each line as string instead of JSON; |
--raw-output |
-r |
string | output strings without escapes and quotes; |
--raw-output0 |
`` | bool | implies -r and output NUL after each output; |
--seq |
`` | bool | parse input/output as application/json-seq; |
--slurp |
-s |
bool | read all inputs into an array and use it as |
--sort-keys |
-S |
bool | sort keys of each object on output; |
--stream |
`` | string | parse the input value in streaming fashion; |
--stream-errors |
`` | bool | implies --stream and report parse error as |
--tab |
`` | bool | use tabs for indentation; |
--unbuffered |
`` | bool | flush output stream after each output; |
--version |
-V |
bool | show the version; |
Common Usage Patterns (Compact)
No examples extracted.
Detailed References
- Full command tree:
references/commands.md - Full examples catalog:
references/examples.md
Re-Scanning
After a CLI update, run /scan-cli or execute crawler + generator again.