An os.PathLike wrapper around anytree.RenderTree
Project description
pathtree - An os.PathLike wrapper around anytree.RenderTree
Usage
pathtree [--style {ascii,double,round,square}] [--indent INDENT]
[--lengthen COLUMNS]
[--dirname-short | --dirname-long | --dirname-wrap COLUMN]
[--basename-short | --basename-long | --basename-wrap COLUMN]
[-h] [-v] [-V] [--print-config] [--print-url]
[--completion [SHELL]]
[FILE]
Read list of paths from standard input and print tree to standard output.
Positional Arguments
FILE Read paths from `FILE` instead of `stdin`.
formatting options
--style {ascii,double,round,square}
Choose rendering style (default: `round`).
--indent INDENT Indent output with INDENT spaces (default: `0`).
--lengthen COLUMNS Lengthen horizontal lines by COLUMNS (default: `0`).
--dirname-short With short dirnames (default: `False`).
--dirname-long With long dirnames (default: `True`).
--dirname-wrap COLUMN
Wrap dirnames at COLUMN (default: `66`).
--basename-short With short basenames (default: `False`).
--basename-long With long basenames (default: `True`).
--basename-wrap COLUMN
Wrap basenames at COLUMN (default: `66`).
General options
-h, --help Show this help message and exit.
-v, --verbose `-v` for detailed output and `-vv` for more detailed.
-V, --version Print version number and exit.
--print-config Print effective config and exit.
--print-url Print project url and exit.
--completion [SHELL]
Print completion scripts for `SHELL` and exit
(default: `bash`).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rlane_pathtree-1.0.1.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file rlane_pathtree-1.0.1.tar.gz
.
File metadata
- Download URL: rlane_pathtree-1.0.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f797732ba9049091a5515b84e55f0a1a11fd4f23b3c19d7fc83f2f9a21d61e23 |
|
MD5 | cabe372c991233359cb06e911a06bb33 |
|
BLAKE2b-256 | 5a01dc7c8da866f3dd4273cd42c7cb061574e373768fd25c935d089653fe89a4 |
File details
Details for the file rlane_pathtree-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: rlane_pathtree-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf483903b3cb2190f4a12575c2b23305b88d3f63a9a643e112c93b650fb7616e |
|
MD5 | 89cba3de6744f9468b60c99999f24cf5 |
|
BLAKE2b-256 | 13a8e41ea9df8e917dd2c89f48a96c2cbf797c72795f39300004feb620cb6dfb |