An open API service indexing awesome lists of open source software.

https://github.com/fdncred/nu_plugin_tree

A nushell plugin that transform nushell values into a tree shape
https://github.com/fdncred/nu_plugin_tree

nushell nushell-plugin tree tree-structure

Last synced: 4 months ago
JSON representation

A nushell plugin that transform nushell values into a tree shape

Awesome Lists containing this project

README

          

# nu_plugin_tree

This is a [Nushell](https://nushell.sh/) plugin called "tree". It takes nushell values and transforms them into a tree shape.

## Installing

```nushell
> cargo install --path .
```

## Usage

```nushell
> plugin add ~/.cargo/bin/nu_plugin_tree
> plugin use tree
> tree --help
View the contents of the pipeline as a tree.

Usage:
> tree

Flags:
-h, --help: Display the help message for this command

Examples:
Transform the tabular output into a tree
> scope commands | where name == with-env | tree

Transform the tabular output into a tree
> ls | tree
```
![image](https://github.com/user-attachments/assets/00dab737-fd26-48c2-926e-c62649dbe92d)