CLI Commands
destroy
Destroy resources in an environment
Destroy Command
The destroy
command removes resources from a specified environment.
Usage
Description
The destroy command safely removes resources from your environments. It:
- Identifies resources to be removed
- Plans the removal sequence
- Executes the removal process
- Verifies successful cleanup
Flags
--environment
: Specify the environment to destroy resources in--package
: Specify packages to destroy (can be specified multiple times)--force
: Skip confirmation prompts
Examples
Safety Considerations
- The destroy command will prompt for confirmation by default
- Use
--force
with caution as it skips confirmation - Consider taking backups before destroying production resources
Related Commands
deploy
: Deploy resources to an environmentteardown
: Remove an entire environment