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.2.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file rlane_pathtree-1.0.2.tar.gz
.
File metadata
- Download URL: rlane_pathtree-1.0.2.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 | efeef82004c244085071f44c050b391ae216a625791aeb9574f4787b23201b6b |
|
MD5 | 6251dd618ae85db56f2b17590abbf6c2 |
|
BLAKE2b-256 | 172d92c730d75c0243ad72210a3061bc899a0ff928a2c1e84d8b411ee8fb64d4 |
File details
Details for the file rlane_pathtree-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: rlane_pathtree-1.0.2-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 | 29b7166d6a1000bb6f6d75e456aef336c7c30d4a1113595136c6fe7eb556ae82 |
|
MD5 | e887406ed8916dd045b54681b61d3961 |
|
BLAKE2b-256 | e85d75b5476d8988c40a5c4ab761a15fd908194e037806cb7edb2a3e56874f19 |