Skip to content

a pip package which is used to simulate `tree` command in linux.

License

Notifications You must be signed in to change notification settings

sword4869/mytree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


1. Install

1.1. Git

pip install git+https://github.com/sword4869/mytree.git

1.2. Manual

cd mytree
pip install -e .

2. Usage

python -m mytree -h
usage: mytree.py [-h] [-L MAX_LAYER] [-a] [-c COMPACT_FILES] [-d DIRECTORY]

options:
  -h, --help            show this help message and exit
  -L MAX_LAYER, --max_layer MAX_LAYER
                        the number of limited layers
  -a, --is_show_hidden  dont show hidden files or directories
  -c COMPACT_FILES, --compact_files COMPACT_FILES
                        maximum number of showed files under the same directory, default is infinity
  -d DIRECTORY, --directory DIRECTORY
                        working directory

图 1

图 2

图 3

About

a pip package which is used to simulate `tree` command in linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages