-
-
Notifications
You must be signed in to change notification settings - Fork 787
Open
Labels
Description
Product
Nitro CLI
Is your feature request related to a problem?
I'm building a Terraform provider for Nitro and ran into a limitation - there's no way to delete workspaces or environments through the CLI.
For workspaces, there's no delete option anywhere (CLI or web UI). For environments, I can delete them in the web UI but not via CLI.
This makes it hard to:
- Clean up test workspaces and environments
- Build complete automation workflows
- Use Terraform properly (it expects to be able to delete what it creates)
The solution you'd like
Add delete commands to the CLI:
nitro workspace delete <workspace-id>
nitro environment delete <environment-id>
Maybe with a --force
flag to skip confirmations for automation.
Additional context
Right now APIs and API keys have full CRUD support in the CLI, but workspaces and environments are missing the delete part. Would be great to have feature parity across all resources.
This would make the CLI much more useful for Infrastructure as Code and automated workflows.