A small example package
Project description
UNRun
A simple CLI tool to run commands from a YAML file.
Installation
pip install unrun
Usage & Features
Create an unrun.yaml file in your project root:
hello: echo "Hello, world!"
foo:
bar: echo "This is foo bar"
baz:
- echo "This is baz item 1"
- echo "This is baz item 2"
Single Command
You can run a single command by specifying its key:
unrun hello
Output:
Hello, world!
Nested Commands
You can run nested commands by specifying the full path:
unrun foo.bar
Output:
This is foo bar
List Commands
You can list all available commands:
unrun baz
Output:
This is baz item 1
This is baz item 2
License
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
unrun-0.1.0.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
unrun-0.1.0-py3-none-any.whl
(3.3 kB
view details)
File details
Details for the file unrun-0.1.0.tar.gz.
File metadata
- Download URL: unrun-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8a15427b004f0116c29b9cbe1033bdb20646fe08d439978e1b0eada24a0e3f1
|
|
| MD5 |
86a2bd781c46751390dc406f76cf6091
|
|
| BLAKE2b-256 |
f069f6427a3a641bdf8193d0a6fe0bb7f45555b7911d20cf55e8eb72a1ace66b
|
File details
Details for the file unrun-0.1.0-py3-none-any.whl.
File metadata
- Download URL: unrun-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abc4e587c1d3c303f2606160b7c49211f1495ea3a9d5a08b1c14878e18b7e04b
|
|
| MD5 |
bf15b29372ed323e865d2c65d938d4f3
|
|
| BLAKE2b-256 |
f0f27c14d4cc2293b55c363c422f46b0fa5b892edd46756deb7a4a9b8b066308
|