#cargo-lock #format-file #debugging #tree #system #src #target

app fm_tree

Format YAML/JSON to file system like structure

1 unstable release

Uses old Rust 2015

0.1.0 Apr 21, 2018

#28 in #cargo-lock

MIT license

9KB
211 lines

fm_tree

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

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

Dependencies

~2.4–3MB
~56K SLoC