Skip to content

Add --force/-f flag to domain commands#44

Merged
kbens merged 1 commit into
stagingfrom
feature/domain-force-flag
Feb 13, 2026
Merged

Add --force/-f flag to domain commands#44
kbens merged 1 commit into
stagingfrom
feature/domain-force-flag

Conversation

@kbens
Copy link
Copy Markdown
Member

@kbens kbens commented Feb 13, 2026

Summary

  • Add --force/-f flag to all 8 domain commands that call _confirm_targets() (bounce, configure, flush, kill, purge, restart, start, stop)
  • Skips the confirmation prompt, same behavior as skip_domain_confirm config setting
  • Rename stop's existing --force/-f (kill processes) to --hard/-H to free the flag for consistent skip-confirm behavior
  • Update tip text to mention --force

Test plan

  • 17 new tests in tests/test_domain_force_flag.py
  • All 46 domain confirm-related tests pass
  • Tests cover: force skips prompt, force threads through all 8 commands, stop --hard still uses kill action, tip text mentions --force

@kbens kbens force-pushed the feature/domain-force-flag branch 3 times, most recently from d3769b8 to b9bc687 Compare February 13, 2026 14:38
@kbens kbens force-pushed the feature/domain-force-flag branch from b9bc687 to dd7dd47 Compare February 13, 2026 15:00
@kbens kbens merged commit e132d34 into staging Feb 13, 2026
@kbens kbens deleted the feature/domain-force-flag branch February 13, 2026 15:17
@kbens kbens mentioned this pull request Feb 13, 2026
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