Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nbtq

jq for NBT and SNBT, powered by jaq.

Installation

cargo install --git http://github.com/Vonr/nbtq --locked

# Using https://github.com/cargo-bins/cargo-binstall
cargo binstall --git https://github.com/Vonr/nbtq nbtq-cli --locked

Usage

Usage: nbtq [OPTIONS] [FILTER] [PATH]

Arguments:
  [FILTER]  [default: .]
  [PATH]    path to the input or - for stdin

Options:
      --color <COLOR>           [possible values: auto, always, never]
  -p, --pretty <PRETTY>         Whether to format output in a human-readable fashion [default: true] [possible values: true, false]
  -r, --raw                     Output top-level strings without escapes or quotes
  -Q, --quote <QUOTE_STRINGS>   Whether to quote strings [default: auto] [possible values: auto, always, never]
      --no-suffix               Don't suffix numbers with their types
      --no-prefix               Don't prefix primitive arrays with their types
  -o, --output <OUTPUT>         Output file path
  -f, --format <OUTPUT_FORMAT>  Output file format [possible values: input, nbt, snbt, gz, gz1, gz2, gz3, gz4, gz5, gz6, gz7, gz8, gz9]
      --args                    Treat [PATH] as SNBT input
  -h, --help                    Print help
  -V, --version                 Print version

About

jq for NBT and SNBT, powered by jaq

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages