Update README with config commands

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gilesb
2026-01-08 03:20:10 +00:00
parent d185683e93
commit ce90570039

View File

@@ -96,6 +96,14 @@ export ARTDAG_L2=https://artdag.rose-ash.com
./artdag.py status <run-id>
```
### Delete a Run
```bash
./artdag.py delete-run <run-id>
# Skip confirmation
./artdag.py delete-run <run-id> -f
```
### List Cached Content
```bash
./artdag.py cache
@@ -118,6 +126,37 @@ export ARTDAG_L2=https://artdag.rose-ash.com
./artdag.py import /path/to/file.jpg
```
### Delete Cached Content
```bash
./artdag.py delete-cache <content-hash>
# Skip confirmation
./artdag.py delete-cache <content-hash> -f
```
Note: Items that are inputs/outputs of runs, or published to L2, cannot be deleted.
### Config Commands
Configs are reusable DAG definitions with fixed and variable inputs.
```bash
# Upload a config YAML file
./artdag.py upload-config recipe.yaml
# List configs
./artdag.py configs
# View config details
./artdag.py config <config-id>
# Run a config with variable inputs
./artdag.py run-config <config-id> -i node_id:content_hash --wait
# Delete a config
./artdag.py delete-config <config-id>
```
## Example Workflow
```bash