ChilliCream / ChilliCream/graphql-platform

Add workspace and environment delete commands to CLI

Open
#8,512 0 comments 0 reactions 1 assignee View on GitHub

@PascalSenn is already working on this.

Since Aug 11, 2025.

🌶️ nitro
Dominant language
C#
Stars
5.8k
Forks
810
Avg merge
15h 39m
Merged PRs (30d)
98

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.