clasp
clasp copied to clipboard
Add command to delete Apps Script projects
For testing + staging purposes we'd like to be able to spin up ephemeral Apps Script projects which exist only to test a PR. We can currently create the projects with clasp create
but there is no matching clasp delete
to clean up afterwards.
Expected Behavior
There is a clasp delete
command to delete the Apps Script project with a particular ID (or read from .clasp.json).
Actual Behavior
N/A
Steps to Reproduce the Problem
N/A
Specifications
N/A
I did a PR with a delete command reading the ids only from the .clasp.json only, because in the case of a parent is needed to delete the parent and not the appscript. So a command like:
clasp delete APPSCRIPTID --parentId PARENTID
will have to ignore the APPSCRIPTID, which I think looks 'strange', and without the PARENTID will not work.