Skip to content

Commit d09c6b4

Browse files
authored
Merge pull request #1450 from strapi/DEITS/cli-fix
sync CLI docs with final help file changes
2 parents 74244c5 + eefc3b0 commit d09c6b4

File tree

1 file changed

+8
-8
lines changed
  • docs/developer-docs/latest/developer-resources/cli

1 file changed

+8
-8
lines changed

docs/developer-docs/latest/developer-resources/cli/CLI.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ strapi export
109109

110110
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:
111111

112-
| Option | Type | Description |
113-
|------------------|---------|----------------------------------------------------------------------------|
112+
| Option | Type | Description |
113+
|------------------|:-------:|--------------------------------------------------------------------------------------------------------------|
114114
| `‑‑no‑encrypt` | - | Disables file encryption and disables the `key` option. |
115115
| `‑‑no‑compress` | - | Disables file compression. |
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. `--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. |
121121

122122
**Examples**
123123

@@ -141,7 +141,7 @@ strapi export --exclude files
141141
| `-k`, <br/> `--key` | `string` | Provide the encryption key in the command instead of a subsequent prompt. |
142142
| `-f`, <br/>`--file` | `string` | Path and filename with extension for the data to be imported. |
143143
| `--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`. |
145145
| `--only` | `string` | Include only these data. The available types are: `content`, `files`, and `config`. |
146146
| `-h`, <br/>`--help` | - | Display the `strapi import` help commands. | |
147147

0 commit comments

Comments
 (0)