LinuxCommandLibrary

otree

Interactive TUI tree viewer for structured data

TLDR

View a JSON file
$ otree [path/to/file.json]
copy
View YAML from stdin
$ cat [file.yaml] | otree
copy
View TOML
$ otree [path/to/file.toml]
copy

SYNOPSIS

otree [options] [file]

DESCRIPTION

otree is a command-line tool for viewing structured data objects (JSON, YAML, TOML, XML) in an interactive TUI tree widget. It was designed to handle deeply nested Kubernetes YAML files and similar complex configurations.
Navigation keys and colors are configurable.

CAVEATS

Only supports structured data formats. Plain text files cannot be displayed.

HISTORY

otree was created by fioncat and is written in Rust.

SEE ALSO

jq(1), yq(1), jnv(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard