mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Add --export-pack option to the command_line_tutorial
This commit is contained in:
@@ -137,6 +137,9 @@ Command line reference
|
||||
+----------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| ``--test <test>`` | Run a unit test. Use ``--help`` first to display the list of tests. (:ref:`tools <doc_introduction_to_the_buildsystem_tools>` must be enabled). |
|
||||
+----------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
+----------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| ``--export-pack <preset> <path>`` | Like ``--export``, but only export the game pack for the given preset. The <path> extension determines whether it will be in PCK or ZIP format. |
|
||||
| | (:ref:`tools <doc_introduction_to_the_buildsystem_tools>` must be enabled). |
|
||||
|
||||
Path
|
||||
----
|
||||
@@ -274,6 +277,10 @@ will be shown.
|
||||
To export a debug version of the game, use the ``--export-debug`` switch
|
||||
instead of ``--export``. Their parameters and usage are the same.
|
||||
|
||||
To export only a PCK file, use the ``--export-pack`` option followed by the
|
||||
preset name and output path, with the file extension, instead of ``--export``.
|
||||
The output path extension determines the package's format, either PCK or ZIP.
|
||||
|
||||
Running a script
|
||||
----------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user