Ordo
A structured command runner — a clean alternative to make.
Ordo reads an ordo.yaml config, groups your commands logically, and runs them with a simple group:command syntax. No more flat Makefiles. No more guessing what commands exist.
Why not make?
make |
Ordo | |
|---|---|---|
| Grouped commands | ✗ | ✓ |
| Built-in discovery | ✗ | ✓ |
| Per-command descriptions | ✗ | ✓ |
| Readable config | Makefiles | YAML |
| Typo suggestions | ✗ | ✓ |
Installation
pip install ordo-cli
# or
pipx install ordo-cli
Quick start
Create an ordo.yaml at your project root:
groups:
dev:
description: Local development
commands:
start:
description: Start the API server
run: "uvicorn app.main:app --reload"
reset:
description: Reset local database
run: "python scripts/reset_db.py"
test:
description: Test suite
commands:
run:
description: Run all tests
run: "pytest"
watch:
description: Run tests in watch mode
run: "pytest --watch"
Then:
ordo list # see all commands
ordo dev:start # run one
ordo validate # check your config
CLI reference
ordo list List all commands
ordo list --verbose Also show raw run strings
ordo <group:command> Execute a command
ordo validate Validate ordo.yaml
ordo --version Print version
ordo --help Print help
ordo.yaml reference
groups:
<group-name>:
description: string # optional — shown in ordo list
commands:
<command-name>:
description: string # optional — shown in ordo list
run: string # required — shell command to execute
Naming rules:
- Group and command names: lowercase letters, numbers, hyphens only
- No spaces
- Names must be unique within their scope
All run strings execute via sh -c — pipes, redirects, &&, and env vars all work as expected.
Config discovery
Ordo finds ordo.yaml in this order:
ORDO_CONFIGenvironment variable--configCLI flagordo.yamlin current directory- Walk up the directory tree until
.gitis found
You can run ordo from any subdirectory in your repo — it will find the config.
Error behaviour
- All errors exit with code 1
- Child process exit codes are forwarded exactly
- Typos get a fuzzy suggestion:
Did you mean: dev:start? Ctrl+Ccleanly stops the child process — no zombie processes
License
MIT
Metadata
Release files for ordo-cli 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ordo_cli-1.0.1.tar.gz | 7.8 kB | Without provenance | Details for ordo_cli-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ordo_cli-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for ordo_cli-1.0.1-py3-none-any.whl |
Total release size: 15.0 kB
Release files / ordo_cli-1.0.1.tar.gz
| Download URL | ordo_cli-1.0.1.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55711adbfe1bc6106421852a3f6d6070de954697cd3f81b1a787fc7cec0891e1
|
|
BLAKE2b-256 checksum How to use checksums |
9c2ba578ced69988f2ff490b76ae23b54621d6eb453aa27dfc9ec5b6ecfda9f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / ordo_cli-1.0.1-py3-none-any.whl
| Download URL | ordo_cli-1.0.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
591ccf11a06c52cf066531911823081755afa2e1bb7ad2ee0e96d15a024be6aa
|
|
BLAKE2b-256 checksum How to use checksums |
1852534bb45476e7dfc9d48f9f48e6bed05df9e2135416f711185e95b060d3cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for ordo-cli 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.