Update README with config commands
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
39
README.md
39
README.md
@@ -96,6 +96,14 @@ export ARTDAG_L2=https://artdag.rose-ash.com
|
|||||||
./artdag.py status <run-id>
|
./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
|
### List Cached Content
|
||||||
```bash
|
```bash
|
||||||
./artdag.py cache
|
./artdag.py cache
|
||||||
@@ -118,6 +126,37 @@ export ARTDAG_L2=https://artdag.rose-ash.com
|
|||||||
./artdag.py import /path/to/file.jpg
|
./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
|
## Example Workflow
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user