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 details)

Uploaded Python 3

File details

Details for the file pash-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pash-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for pash-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f1a791292696181dd802f2b451930b1dfad8ef35f9ba88bc494b1fb1e7ad16fd
MD5 fdd37b2d73485392f438a07c789f9317
BLAKE2b-256 9eb1f0d7dc771e6c4d8aac05b87baf4b48fe0b7b1b06580fad5abe11b01993d7

See more details on using hashes here.

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