1.0.4 • Published 7 years ago

formatree-cli v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

formatree-cli

Format a folder structure to a depth indented string

Install

$ npm i -g formatree-cli

Usage

$ formatree --help

  Usage
    $ formatree [--limit=<number>] [--spacing=<number>] [--values] [--theme=<string>]
  Options
    -v, --version     Show this help
    -l, --limit       Limit the tree at a specific branch depth.
    -s, --spacing     Add some extra lines between the tree branches.
    -a, --values      Show the values of the siblings
    -t, --theme       Customize the output of the tree
                      themes: ascii, clean, stripes, arrows
    -h, --header      The first line of the tree
    -f, --footer      The last line of the tree
    -p, --parent      Append a string after a parent branch
        --sibling
        --lastSibling
        --indent
        --lastIndent
  Examples
    $ formatree
    .
    └── foo
        └── bar

    $ formatree --limit=1 --values
    .
    └── foo (/foo)

Related

License

MIT © A1rPun

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago