Skip to main content

A CLI for running npm-like scripts

Project description

Run

Install

pip install -U run-scripts

Basic Usage

run init [--short]
# Creates either a runfile.yml or run.yml file in the current directory

run [script]
# Runs the script defined in the runfile.yml or run.yml file

Examples

runfile.yml

scripts:
    lint: "poetry run black ."
    build: 
        - "run lint"
        - "docker build -t image ."

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

run-scripts-0.1.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

run_scripts-0.1.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file run-scripts-0.1.2.tar.gz.

File metadata

  • Download URL: run-scripts-0.1.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.2 Windows/10

File hashes

Hashes for run-scripts-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3347301a7644a5eca393548b58d76ae86b2e72e587232e5c2567dbf438630723
MD5 eb48b3b979a8ff13dc031d100e3596ad
BLAKE2b-256 ae3ca33a39696d9844671d454c281f102c53842acebf9d59a80570ea3953b84e

See more details on using hashes here.

File details

Details for the file run_scripts-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: run_scripts-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.2 Windows/10

File hashes

Hashes for run_scripts-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b07b42a5a3cdb8016712579253df9f80dba279f3ae7770880a5223e4088b2e9c
MD5 43d9c1074953814f8377e641bb0f8aa4
BLAKE2b-256 325c9b3608abc457983034100c3fc985caf14c42fabad635b5c24d9444eda0a8

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