Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
16 stars 4 forks source link

`garden-ai garden delete` command #421

Closed WillEngler closed 5 months ago

WillEngler commented 5 months ago

It will be nice for users to have the ability to delete a garden. If the garden's DOI is one the user has in their data.json, this will both delete the garden locally and in the search index. If the garden has a registered DOI, the command should refuse to delete the garden. There should also be a hidden --force flag or similar that will delete the garden from the search index even if it isn't in the user's data.json. This will be useful for admins.

Assumptions:

1. 2.

Acceptance Criteria

Given I am a publisher, when I publish a test garden that I don't really want published, then I can garden-ai garden delete it.