From 8cbe3d43d7e287d17e5d62fa27fe17ac8dd834fd Mon Sep 17 00:00:00 2001 From: Mikael Hermansson Date: Wed, 17 Apr 2024 12:13:13 +0200 Subject: [PATCH] Add new `--import` command-line option --- tutorials/editor/command_line_tutorial.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tutorials/editor/command_line_tutorial.rst b/tutorials/editor/command_line_tutorial.rst index ac0f2f01d67..4a0e6ff14b6 100644 --- a/tutorials/editor/command_line_tutorial.rst +++ b/tutorials/editor/command_line_tutorial.rst @@ -192,14 +192,16 @@ given build type. +------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | ``--check-only`` | |release| Only parse for errors and quit (use with ``--script``). | +------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ -| ``--export-release `` | |editor| Export the project using the given preset and matching release template. The preset name | -| | should match one defined in export_presets.cfg. ```` should be absolute or relative to the project directory, | -| | and include the filename for the binary (e.g. 'builds/game.exe'). The target directory should exist. | +| ``--import`` | |editor| Starts the editor, waits for any resources to be imported, and then quits. Implies ``--editor`` and ``--quit``. | +------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ -| ``--export-debug `` | |editor| Like ``--export-release``, but use debug template. | +| ``--export-release `` | |editor| Export the project using the given preset and matching release template. The preset name should match one defined in export_presets.cfg. | +| | ```` should be absolute or relative to the project directory, and include the filename for the binary (e.g. 'builds/game.exe'). The target | +| | directory should exist. Implies ``--import``. | ++------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ +| ``--export-debug `` | |editor| Like ``--export-release``, but use debug template. Implies ``--import``. | +------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | ``--export-pack `` | |editor| Like ``--export-release``, but only export the game pack for the given preset. The ```` extension determines whether it will be in PCK | -| | or ZIP format. | +| | or ZIP format. Implies ``--import``. | +------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+ | ``--convert-3to4 [] []`` | |editor| Convert project from Godot 3.x to Godot 4.x. | +------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+