用python实现bash命令
pash的Python项目详细描述
#帕什 啊![特拉维斯](https://travis-ci.org/Windsooon/pash.svg?branch=master)
使用python实现bash ls命令
##快速启动
git@github.com:Windsooon/pash.git python3 ls.py -lS # Other Examples python3 ls.py -p path_location -l python3 ls.py -lSaR
##用法
usage: ls.py [-h] [-p PATH] [-l] [-a] [-S] [-R]
- optional arguments:
-h, --help show this help message and exit -p PATH Spectify the path -l use a long listing format -a do not ignore entries starting with . -S sort by file size -R list subdirectories recursively
##API
pip3 install pash
>>> import pash >>> pash.ls() LICENSE README.md __pycache__ build dist htmlcov ls.py pash pash.egg-info run_tests.py setup.py src tests