Skip to content

[data] Add --cleanup flag to skip interactive prompt in export#304

Open
kkozoriz wants to merge 1 commit intomainfrom
feature/data-non-interactive-flag
Open

[data] Add --cleanup flag to skip interactive prompt in export#304
kkozoriz wants to merge 1 commit intomainfrom
feature/data-non-interactive-flag

Conversation

@kkozoriz
Copy link
Contributor

Description

Add --cleanup flag to d8 data export download and d8 data export list commands to support non-interactive usage in scripts.

Previously, these commands always prompted the user to decide whether to delete the auto-created DataExport after completion. This blocked scripted/piped invocations.

New behavior:

  • --cleanup=true - delete the auto-created DataExport immediately, no prompt
  • --cleanup=false - keep the DataExport, no prompt
  • without the flag - existing interactive behavior is preserved

Examples

image image

…ownload/list

Signed-off-by: Konstantin Kozoriz <konstantin.kozoriz@flant.com>
@kkozoriz kkozoriz self-assigned this Mar 23, 2026
@kkozoriz kkozoriz requested a review from ldmonster as a code owner March 23, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant