Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-cicd
csst-dag
Commits
08d3985a
Commit
08d3985a
authored
Jun 11, 2025
by
BO ZHANG
🏀
Browse files
add upload_plan.py
parent
70fc5c2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dag/cli/upload_plan.py
0 → 100644
View file @
08d3985a
from
csst_dag
import
DFS
from
csst_dfs_client
import
plan
import
argparse
import
sys
import
os
plan_path
=
sys
.
argv
[
1
]
assert
os
.
path
.
exists
(
plan_path
),
f
"Plan file
{
plan_path
}
does not exist"
res
=
plan
.
write_file
(
local_file
=
"plan.json"
)
print
(
res
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment