Skip to content

Commit 5defae6

Browse files
committed
addition of path to export file command line parameter
1 parent bbfe6be commit 5defae6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/campaigns/exporting_campaigns.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@ Use the following commands:
6060

6161
.. code-block:: bash
6262
63-
bin/console mautic:entity:export --entity=campaign --id=1 --zip-file
63+
bin/console mautic:entity:export --entity=campaign --id=1 --zip-file --path=path/to-file
6464
6565
* `entity` defines the type of entity to Export, in this case `campaign`
6666
* `id` defines the id of the Campaign to Export. Look at the URL to find the ID when you view or edit the Campaign - the ID will appear in the URL for example, /s/campaigns/view/123 where 123 is the ID
6767
* `zip-file` creates a zip file of the Campaign and its dependencies
68+
* `path` specifies the directory where the exported file will be saved
6869

6970
.. code-block:: bash
7071

docs/configuration/command_line_interface.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ These are the commands you may need to use in relation to your Mautic instance.
116116
* - ``mautic:entity:import --entity=campaign file=path-to-file/entity_data.zip``
117117
- Imports campaign and dependent entities to Mautic from a ZIP file. See :doc:`/campaigns/importing-campaigns`.
118118

119-
* - ``mautic:entity:export --entity=campaign --id=1``
119+
* - ``mautic:entity:export --entity=campaign --id=1 path=path/to-file``
120120
- Exports campaign and dependent entities from Mautic to a ZIP file. See :doc:`/campaigns/exporting-campaigns`.
121121

122122
* - ``messenger:consume email``

0 commit comments

Comments
 (0)