GitHub user dosubot[bot] added a comment to the discussion: IMPORT functionnality in command line
<!-- Greeting --> Hi @ARTISnetDev! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> When you use the `superset import-dashboards` CLI command, it always overwrites existing dashboards with matching UUIDs—there is no CLI flag, environment variable, or hidden config to control this behavior. The overwrite is hardcoded in the CLI implementation, so you don't need to specify an option to force it; the CLI import will always replace existing dashboards without prompting for confirmation, unlike the manual UI import which asks for confirmation before overwriting. Other import commands (like `import_directory`) do have an `--overwrite` flag, but this does not apply to dashboard ZIP imports via the CLI. [Reference: superset/cli/importexport.py](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/cli/importexport.py) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/49e55e80-070b-46a7-b1ec-fcdb522a992a?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/49e55e80-070b-46a7-b1ec-fcdb522a992a?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/49e55e80-070b-46a7-b1ec-fcdb522a992a?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/49e55e80-070b-46a7-b1ec-fcdb522a992a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/49e55e80-070b-46a7-b1ec-fcdb522a992a?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/49e55e80-070b-46a7-b1ec-fcdb522a992a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/49e55e80-070b-46a7-b1ec-fcdb522a992a?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/34884) GitHub link: https://github.com/apache/superset/discussions/34884#discussioncomment-14245887 ---- This is an automatically sent email for notifications@superset.apache.org. To unsubscribe, please send an email to: notifications-unsubscr...@superset.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org