diff --git a/docs/commands/run.rst b/docs/commands/run.rst index 94c1b4bee..cffd9aa33 100644 --- a/docs/commands/run.rst +++ b/docs/commands/run.rst @@ -212,6 +212,8 @@ Planemo command for running tools and jobs. --galaxy_user_key TEXT User key to use with external Galaxy engine. --history_name TEXT Name to give a Galaxy history, if one is created. + --history_id TEXT Do not create a new history. Send the results + of the run in the history with the provided ID. --no_wait After invoking a job or workflow, do not wait for completion. --paste_test_data_paths / --no_paste_test_data_paths diff --git a/planemo/options.py b/planemo/options.py index 71f15fc81..7e4ea8b3d 100644 --- a/planemo/options.py +++ b/planemo/options.py @@ -523,6 +523,13 @@ def history_name(): help="Name to give a Galaxy history, if one is created.", ) +def history_id(): + return planemo_option( + "--history_id", + type=str, + help="Do not create a new history. Send the results of the run in the history with the provided ID.", + ) + def no_cache_galaxy_option(): return planemo_option( @@ -1495,6 +1502,7 @@ def engine_options(): galaxy_admin_key_option(), galaxy_user_key_option(), history_name(), + history_id(), no_wait_option(), )