5d4f9417fd
Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
1.4 KiB
1.4 KiB
daedalus (template)
Starter repository for daedalus: one CLI, many small scripts, each with tests.
daedalus <name> [args...] # run a script
daedalus <category> [category...] # list scripts in the categories (AND)
daedalus --list # list everything
Install, usage, and development · SPEC (how the repo is maintained) · CHANGELOG
Available scripts
| Script | Type | Categories | What it does |
|---|---|---|---|
hello |
Python | test | Prints a hello line and the daedalus version |
Run the sample script:
daedalus hello # hello from daedalus 0.2.0
daedalus test hello # same, through the category prefix
daedalus test # list the scripts in the 'test' category
daedalus --list prints the version, a script / type / categories
table, and each description wrapped under its row.
Getting started
- Clone or copy this template and name the Git remote for your team.
- Add a script under
python/src/,bash/,powershell/, orbatch/(see SPEC layout). - Register it in
daedalus/registry.py, add a row to the table above, write tests, bumpversioninpyproject.toml, and runpython autotest.py.
hello is the sample script: copy its file, registry entry, README row,
and tests to add your own. Unknown names exit with code 2 and suggest
close matches.