Skip to main content

Adds a utility for running pyss.yaml files.

Project description

PYSS - Python Script Support

Adds a utility for running pyss.yaml files.

Installation

pip install pyss

Usage

Define a pyss.yaml file in the root of your project. This file should contain a list of commands to run.

scripts:
  - name: say-my-name
    description: Says his name
    command: echo Heisenberg
  - name: ww
    description: What could it stand for?
    command: echo Willy Wonka?

Then, to run one of the commands, use the pyss command from the root of your project.

$ pyss say-my-name

Running script:  say-my-name
Execute:         echo Heisenberg

Heisenberg

Utility

To list the commands available in the pyss.yaml file, you can run the following command:

$ pyss --list

Run script with: pyss <script_name>

Available Scripts found in pyss.yaml:

    - say-my-name : Says his name
    - ww          : What could it stand for?

Attribution

Thanks to Pyss Man: @mavrw

Project details


Download files

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

Source Distribution

pyss-1.0.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

pyss-1.0.1-py3-none-any.whl (3.5 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