Metadata-Version: 2.1
Name: unrun
Version: 0.1.0
Summary: A small example package
Home-page: https://github.com/howcasperwhat/unrun
Author: Casper Huang
Author-email: casper.w.huang@qq.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: PyYAML
Requires-Dist: rich

# UNRun

A simple CLI tool to run commands from a YAML file.

## Installation

```bash
pip install unrun
```

## Usage & Features

Create an `unrun.yaml` file in your project root:

```yaml
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:

```bash
unrun hello
```

Output:

```
Hello, world!
```

### Nested Commands
You can run nested commands by specifying the full path:

```bash
unrun foo.bar
```

Output:

```
This is foo bar
```

### List Commands
You can list all available commands:

```bash
unrun baz
```

Output:

```
This is baz item 1
This is baz item 2
```

## License
[MIT License](https://opensource.org/license/mit/)

