pip3 install file-explorer
explorer ./ none
explorer path list
- path: a path browser start to show
- list: suffix list
none
: show all file.py
: show python file.py/.yml
: show python and yaml file
git clone https://github.com/WangTingZheng/explorer.git
cd explorer
pip3 install -r requirements.txt
from explorer.menu import *
lists=[".py"]
menu("./",lists)
lists
is a setting list to let cli display the file you want. lists=['.py']
means only display python file and folder that have python file, []
means display all
python run.py
- Press
j
to move up - Press
k
to move down - Press
space
to select and deselect - Press
enter
to confirm
- deal function design for different file
- ignore list
- deal with permission denied bug