Skip to main content

List contents of directories in tree-like format.

Project description

Directory Tree

List contents of directories in tree-like format.

Installation

Example

$ python .\tree.py
.\
|
├── tree\
│   ├── __init__.py
│   ├── cli.py
│   └── tree_util.py
│
├── LICENSE
├── README.md
└── tree.py

CLI Options

usage: tree [-h] [-v] [-d] [-o OUTPUT_FILE] [ROOT_DIR]

positional arguments:
  ROOT_DIR              Generate a full directory tree from the given ROOT_DIR

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -d, --dir-only        Generate a directory-only tree
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        Store the tree output in a file

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tree-peb-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tree_peb-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file tree-peb-0.1.0.tar.gz.

File metadata

  • Download URL: tree-peb-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for tree-peb-0.1.0.tar.gz
Algorithm Hash digest
SHA256 60d49f8896fa247639757a7973ee5a337f463fa34d2f995eda9a236fa17e2a90
MD5 0f83a4ca2155c2a9516f764e41964d4a
BLAKE2b-256 e26a9d5e837befe7ee8596ac9d8d25430f299a3c0dd3cc8c703c0887c3784e0f

See more details on using hashes here.

File details

Details for the file tree_peb-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tree_peb-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for tree_peb-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c54cdd50fe897361101d4977745ba513940a6fc9b8d8d6bd3d668810ee8928b
MD5 6a4414a3ba5f27aab5242b2b586dbbe4
BLAKE2b-256 84b70a4f6a3c9447e1510c4af13205590023d20e6af9db9a9d2ff9ed95fc359d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page