m-basov / fm_tree

Like tree but without actual FS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fm_tree

CLI util to format YAML/JSON file to File System tree representation. Because indentation is hard! :)

It is just experiment so if you find this useful any help is welcome!

Requirements

Installation

cargo install fm_tree

or download binary from releases page(macOS only for now).

Example

Example YAML input:

- src:
    - fs_tree.rs
    - main.rs
- target:
    - debug:
        - native
        - fm_tree
        - .cargo-lock
        - fm_tree.d
    - rls:
        - debug
- .gitignore
- Cargo.lock
- Cargo.toml

Example output:

.
├── src
│   ├── fs_tree.rs
│   └── main.rs
├── target
│   ├── debug
│   │   ├── native
│   │   ├── fm_tree
│   │   ├── .cargo-lock
│   │   └── fm_tree.d
│   └── rls
│       └── debug
├── .gitignore
├── Cargo.lock
└── Cargo.toml

License

MIT

About

Like tree but without actual FS

License:MIT License


Languages

Language:Rust 100.0%