From 4e486137c48e0f9c9a5030b215c2e542075dbe5b Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Mon, 30 Oct 2023 16:42:13 +0100 Subject: [PATCH] Add expose_value=False to some .click.PARAMS --- message_ix_models/util/click.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/message_ix_models/util/click.py b/message_ix_models/util/click.py index e5a2905f32..037e79f59d 100644 --- a/message_ix_models/util/click.py +++ b/message_ix_models/util/click.py @@ -168,12 +168,14 @@ def unique_id() -> str: "dest": Option( ["--dest"], callback=store_context, + expose_value=False, help="Destination URL for created scenario(s).", ), "dry_run": Option( ["--dry-run"], is_flag=True, callback=store_context, + expose_value=False, help="Only show what would be done.", ), "force": Option( @@ -187,6 +189,7 @@ def unique_id() -> str: help="Code list to use for 'node' dimension.", callback=exec_cb("context.model.regions = value"), type=Choice(codelists("node")), + expose_value=False, ), "output_model": Option( ["--output-model"], help="Model name under which scenarios should be generated." @@ -200,6 +203,7 @@ def unique_id() -> str: "quiet": Option( ["--quiet"], is_flag=True, + expose_value=False, help="Show less or no output.", ), "regions": Option(