daedalus 0.2.0: hello - sample python script (category test) printing the greeting and app version; first registry entry with tests, README row, and daedalus.hello package
Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -17,7 +17,15 @@ daedalus --list # list everything
|
||||
|
||||
| Script | Type | Categories | What it does |
|
||||
| --- | --- | --- | --- |
|
||||
| *(none yet)* | — | — | Add scripts per [AGENTS section 5](./AGENTS.md#5-integrating-a-script) or [SPEC section 6](./SPEC.md#6-adding-a-script). |
|
||||
| `hello` | Python | test | Prints a hello line and the daedalus version |
|
||||
|
||||
Run the sample script:
|
||||
|
||||
```bash
|
||||
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.
|
||||
@@ -31,5 +39,6 @@ table, and each description wrapped under its row.
|
||||
write tests, bump `version` in `pyproject.toml`, and run
|
||||
`python autotest.py`.
|
||||
|
||||
Until the registry has at least one script, `daedalus --list` prints an
|
||||
empty catalog and unknown names exit with code 2.
|
||||
`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.
|
||||
|
||||
Reference in New Issue
Block a user