Skip to content

Commit 0b7843b

Browse files
authored
Add new --import command-line option to Command line tutorial (#9242)
1 parent 29de6ef commit 0b7843b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

tutorials/editor/command_line_tutorial.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,16 @@ given build type.
192192
+------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
193193
| ``--check-only`` | |release| Only parse for errors and quit (use with ``--script``). |
194194
+------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
195-
| ``--export-release <preset> <path>`` | |editor| Export the project using the given preset and matching release template. The preset name |
196-
| | should match one defined in export_presets.cfg. ``<path>`` should be absolute or relative to the project directory, |
197-
| | and include the filename for the binary (e.g. 'builds/game.exe'). The target directory should exist. |
195+
| ``--import`` | |editor| Starts the editor, waits for any resources to be imported, and then quits. Implies ``--editor`` and ``--quit``. |
198196
+------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
199-
| ``--export-debug <preset> <path>`` | |editor| Like ``--export-release``, but use debug template. |
197+
| ``--export-release <preset> <path>`` | |editor| Export the project using the given preset and matching release template. The preset name should match one defined in export_presets.cfg. |
198+
| | ``<path>`` should be absolute or relative to the project directory, and include the filename for the binary (e.g. 'builds/game.exe'). The target |
199+
| | directory should exist. Implies ``--import``. |
200+
+------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
201+
| ``--export-debug <preset> <path>`` | |editor| Like ``--export-release``, but use debug template. Implies ``--import``. |
200202
+------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
201203
| ``--export-pack <preset> <path>`` | |editor| Like ``--export-release``, but only export the game pack for the given preset. The ``<path>`` extension determines whether it will be in PCK |
202-
| | or ZIP format. |
204+
| | or ZIP format. Implies ``--import``. |
203205
+------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+
204206
| ``--convert-3to4 [<max_file_kb>] [<max_line_size>]`` | |editor| Convert project from Godot 3.x to Godot 4.x. |
205207
+------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------+

0 commit comments

Comments
 (0)