[PM-1178] Add --kill flag for astro dev restart by jlaneve · Pull Request #2010 · astronomer/astro-cli
Add a --kill flag (-k) to the `astro dev restart` command that kills all running containers and removes all data before restarting. This allows users to run `astro dev restart --kill` instead of having to run `astro dev kill && astro dev start` separately. When the --kill flag is used, the command calls containerHandler.Kill() instead of containerHandler.Stop(true), which permanently deletes all container data before starting fresh. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
marked this pull request as ready for review
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters