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
5cb0e1ba
Commit
5cb0e1ba
authored
Jul 10, 2025
by
BO ZHANG
🏀
Browse files
add force option
parent
bef5724c
Changes
2
Hide whitespace changes
Inline
Side-by-side
csst_dag/cli/csst_mci_l1.py
View file @
5cb0e1ba
...
@@ -55,6 +55,8 @@ parser.add_argument("--submit", action="store_true", help="Push results", defaul
...
@@ -55,6 +55,8 @@ parser.add_argument("--submit", action="store_true", help="Push results", defaul
parser
.
add_argument
(
parser
.
add_argument
(
"--final-prc-status"
,
type
=
int
,
help
=
"Final processing status"
,
default
=-
2
"--final-prc-status"
,
type
=
int
,
help
=
"Final processing status"
,
default
=-
2
)
)
# force option
parser
.
add_argument
(
"--force"
,
action
=
"store_true"
,
help
=
"Force success"
,
default
=
False
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
print
(
"CLI parameters: "
,
args
)
print
(
"CLI parameters: "
,
args
)
...
...
csst_dag/cli/csst_msc_l1.py
View file @
5cb0e1ba
...
@@ -70,6 +70,8 @@ parser.add_argument("--submit", action="store_true", help="Push results", defaul
...
@@ -70,6 +70,8 @@ parser.add_argument("--submit", action="store_true", help="Push results", defaul
parser
.
add_argument
(
parser
.
add_argument
(
"--final-prc-status"
,
type
=
int
,
help
=
"Final processing status"
,
default
=-
2
"--final-prc-status"
,
type
=
int
,
help
=
"Final processing status"
,
default
=-
2
)
)
# force option
parser
.
add_argument
(
"--force"
,
action
=
"store_true"
,
help
=
"Force success"
,
default
=
False
)
args
=
parser
.
parse_args
()
args
=
parser
.
parse_args
()
...
...
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