You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer-docs/latest/developer-resources/cli/CLI.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,15 +109,15 @@ strapi export
109
109
110
110
The exported file is automatically named using the format `export_YYYYMMDDHHMMSS` with the current date and timestamp. Alternately, you can specify the filename using the `-f` or `--file` flag. The following table provides all of the available options as command line flags:
|`-k`, <br/>`--key`| string | Passes the encryption key as part of the `export` command. <br/> The `--key` option can't be combined with `--no-encrypt`. ||
117
-
|`-f`, <br/>`--file`| string | Specifies the export filename. Do not include a file extension. |
118
-
|`--exclude`| string | Exclude data using comma-separated data types. `--exclude` types override `--only` types. The available types are: `content`, `files`, and `config`.|
119
-
|`--only`| string | Include only these data. The available types are: `content`, `files`, and `config`.|
120
-
|`-h`, <br/>`--help`| - | Displays help for the `strapi export` command. |
116
+
|`-k`, <br/>`--key`| string | Passes the encryption key as part of the `export` command. <br/> The `--key` option can't be combined with `--no-encrypt`. |
117
+
|`-f`, <br/>`--file`| string| Specifies the export filename. Do not include a file extension. |
118
+
|`--exclude`| string | Exclude data using comma-separated data types. The available types are: `content`, `files`, and `config`.|
119
+
|`--only`| string | Include only these data. The available types are: `content`, `files`, and `config`.|
120
+
|`-h`, <br/>`--help`| - | Displays help for the `strapi export` command. |
121
121
122
122
**Examples**
123
123
@@ -141,7 +141,7 @@ strapi export --exclude files
141
141
|`-k`, <br/> `--key`|`string`| Provide the encryption key in the command instead of a subsequent prompt. |
142
142
|`-f`, <br/>`--file`|`string`| Path and filename with extension for the data to be imported. |
143
143
|`--force`| - | Automatically answers "yes" to all prompts, including potentially destructive requests. |
144
-
|`‑‑exclude`|`string`| Exclude data using comma-separated data types. <br/> `--exclude` types override `--only` types.<br/> The available types are: `content`, `files`, and `config`. |
144
+
|`‑‑exclude`|`string`| Exclude data using comma-separated data types. <br/> The available types are: `content`, `files`, and `config`. |
145
145
|`--only`|`string`| Include only these data. The available types are: `content`, `files`, and `config`. |
146
146
|`-h`, <br/>`--help`| - | Display the `strapi import` help commands. ||
0 commit comments