write shell in sh.yml
Project description
Sometimes gnu make reminds me how old I am, shyml makes me feel like a baby again.
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
Release history Release notifications | RSS feed
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.7.8.dev1.tar.gz
(4.2 kB
view details)
File details
Details for the file shyml-0.7.8.dev1.tar.gz
.
File metadata
- Download URL: shyml-0.7.8.dev1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 262efa8cd2f50a589ed49d1e4a6d650311f55823b56ed2c9f76615f017d3c0ec |
|
MD5 | 2db061ddb09bd4e05ae0d42adbb5b010 |
|
BLAKE2b-256 | aa78308b1ab454178f6fc4c6e4cdaee305c244e6dacda97f6008981140a74856 |