Skip to main content

Implement Bash command with Python

Project description

# pash ![travis](https://travis-ci.org/Windsooon/pash.svg?branch=master)

Implement Bash ls command using Python

## Quickstart

git@github.com:Windsooon/pash.git python3 ls.py -lS # Other Examples python3 ls.py -p path_location -l python3 ls.py -lSaR

## Usage

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

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pash-0.0.3-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

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