Skip to main content

write shell in sh.yml

Project description

Sometimes gnu make reminds me how old I am, shyml makes me feel like a baby again.

Note: CLI version 0.8 is incomptable with CLI version 0.7, now executes jobs by default and supports running with a shebang.

Getting started

Install with pip install shyml.

And then you can add files like that to your repositories:

#!/usr/bin/env shyml
name: test
help: Testing commands
script: some command
hook: before  # inject this job prior to others
env:
  GLOBAL_ENV: something

---
name: test.reset
help: Example subcommand
env:
  LOCAL_ENV: other
script:
- echo $GLOBAL_ENV $LOCAL_ENV
- some
     --super
     --long=$myvar
     line
- ./sh.yml test

Usage:

./sh.yml                       # lists jobs
./sh.yml -d jobname            # print a job script code
./sh.yml jobname               # run a job in a local bash shell

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

shyml-0.8.2.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file shyml-0.8.2.tar.gz.

File metadata

  • Download URL: shyml-0.8.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

File hashes

Hashes for shyml-0.8.2.tar.gz
Algorithm Hash digest
SHA256 3f1137f6745d6b8c1396c11e2e9aea931e3710c140dc6e0a89812e5e7c905314
MD5 4914faa9becce1a3c789e850a480328f
BLAKE2b-256 e1f4605ca76f20a0dbe700726ff3c736a6f0f1b4edde13fb0cd8b912146de50d

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