Commit 84ec23f5 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

add --demo (store_true)

parent ffd929c4
......@@ -11,7 +11,8 @@ python -m csst_dag.cli.msc \
--batch-id=csci-test-20250507 \
--priority=1 \
--initial-prc-status=-1024 \
--final-prc-status=-2
--final-prc-status=-2 \
--demo=True
"""
from csst_dag.dag import CsstDAG
......@@ -34,7 +35,9 @@ parser.add_argument(
parser.add_argument(
"--final-prc-status", type=int, help="Final processing status", default=-2
)
parser.add_argument("--demo", type=bool, help="Demo mode", default=False)
parser.add_argument(
"--demo", action="store_true", help="Enable demo mode (default: False)"
)
args = parser.parse_args()
print("CLI parameters: ", args)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment