Skip to content

Commit 509cf0e

Browse files
Merge pull request #81 from Cosmo-Tech/HJM/doc_delete_command
cf. PROD-16350: [Platform 26.07] [Doc] Delete Scenario Run data
2 parents 113cc64 + 0e13a5d commit 509cf0e

4 files changed

Lines changed: 35 additions & 1 deletion

File tree

docs/csm-data/store/delete.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
hide:
3+
- toc
4+
description: "Command help: `csm-data store delete`"
5+
---
6+
# delete
7+
8+
!!! info "Help command"
9+
```text
10+
--8<-- "generated/commands_help/csm-data/store/delete.txt"
11+
```

docs/tutorials/csm-data.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "Comprehensive guide to the csm-data CLI: a powerful data management tool for CosmoTech platforms"
33
---
44

5-
# CSM-DATA
5+
# csm-data
66

77
!!! abstract "Objective"
88
+ Understand what the csm-data CLI is and its capabilities
@@ -154,6 +154,10 @@ The `csm-data` commands integrate seamlessly with `csm-orc` for orchestration:
154154
--8<-- 'tutorial/csm-data/csm_orc_integration.json'
155155
```
156156

157+
```json title="delete.json for csm-orc" linenums="1"
158+
--8<-- 'tutorial/csm-data/csm_orc_integration_delete.json'
159+
```
160+
157161
## Best Practices and Tips
158162

159163
!!! tip "Environment Variables"

tutorial/csm-data/complete_pipeline.bash

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ csm-data adx-send-runnerdata \
2626
--database-name "$AZURE_DATA_EXPLORER_DATABASE_NAME" \
2727
--send-datasets \
2828
--wait
29+
30+
# 5. Post-process the results (using your own code)
31+
# ...
32+
33+
# 6. Delete run data when done
34+
csm-data store delete
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"steps": [
3+
{
4+
"id": "delete-data",
5+
"command": "csm-data",
6+
"arguments": [
7+
"store",
8+
"delete"
9+
],
10+
"useSystemEnvironment": true
11+
}
12+
]
13+
}

0 commit comments

Comments
 (0)