From d76f119a2c825249e9edd5c57c4ec603c239faa6 Mon Sep 17 00:00:00 2001 From: Pierre Wizla Date: Wed, 15 Jan 2025 10:37:51 +0100 Subject: [PATCH] Add missing options for export/import to CLI ref. --- docusaurus/docs/dev-docs/cli.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docusaurus/docs/dev-docs/cli.md b/docusaurus/docs/dev-docs/cli.md index 5ee00d8b85..5db4060b30 100644 --- a/docusaurus/docs/dev-docs/cli.md +++ b/docusaurus/docs/dev-docs/cli.md @@ -237,11 +237,13 @@ The exported file is automatically named using the format `export_YYYYMMDDHHMMSS | ------------------- | :----: | -------------------------------------------------------------------------------------------------------------------------- | | `‑‑no‑encrypt` | - | Disables file encryption and disables the `key` option. | | `‑‑no‑compress` | - | Disables file compression. | +| `-f, --file ` | Name to use for the exported file (without extensions). | | `-k`,
`--key` | string | Passes the encryption key as part of the `export` command.
The `--key` option can't be combined with `--no-encrypt`. | | `-f`,
`--file` | string | Specifies the export filename. Do not include a file extension. | | `--exclude` | string | Exclude data using comma-separated data types. The available types are: `content`, `files`, and `config`. | | `--only` | string | Include only these data. The available types are: `content`, `files`, and `config`. | | `-h`,
`--help` | - | Displays help for the `strapi export` command. | +| `--verbose` | Enable verbose logs. | **Examples** @@ -298,6 +300,11 @@ npm run strapi import | `-k,` `--key` | string | Provide the encryption key in the command instead of a subsequent prompt. | | `-f`, `--file` | string | Path and filename with extension for the data to be imported. | | `-h`, `--help` | - | Display the `strapi import` help commands. | +| `--force` | Automatically answer "yes" to all prompts, including potentially destructive requests, and run non-interactively. | +| `--exclude` | Exclude data using comma-separated data types. The available types are: `content`, `files`, and `config`. | +| `--only` | Include only these data. The available types are: `content`, `files`, and `config`. | +| `--throttle` | Time in milliseconds to inject an artificial delay between the "chunks" during a transfer. | +| `--verbose` | Enable verbose logs. | **Examples**