Skip to content

Deleting projects through the CLI with railway delete #695

@sodic

Description

@sodic

Old resources and issues (such as this one) suggests the Railway CLI once had a delete command. Are there any plans on bringing it back?

Motivation:

  • At Wasp, we test our "Railway deployment" feature in the CI. After we're done with the testing, we must clean up the created projects. Calling railway delete <project-id> would be much nicer than doing two calls to the GraphQL API.
  • I imagine the feature would be useful to anyone doing automated deployments and deletions (e.g., deploying a feature branch to test it, deleting the project once the branch is merged).
  • It nicely rounds up Railway's terminal workflow. I can already do almost everything I need without leaving my terminal, deleting projects being the only exception. For that I have to use the dashboard.

I'd be happy to contribute and make this happen :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions