33 lines
445 B
Markdown
33 lines
445 B
Markdown
# Stackchain Library
|
|
|
|
A minimal Python library for composing ordered CLI toolchains from YAML.
|
|
|
|
## Install
|
|
|
|
```
|
|
pip install stackchain
|
|
```
|
|
|
|
## Usage
|
|
|
|
```yaml
|
|
# chain.yaml
|
|
steps:
|
|
- run: lint
|
|
- run: test
|
|
- run: build
|
|
```
|
|
|
|
```bash
|
|
stackchain run chain.yaml
|
|
```
|
|
|
|
## Config
|
|
|
|
- `--fail-fast` stops on first non-zero exit (default: false).
|
|
- `--dry-run` prints steps without executing.
|
|
|
|
## Contributing
|
|
|
|
PRs welcome. Run `pytest` before opening.
|