Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command to delete Apps Script projects #799

Open
elderfd opened this issue Jul 24, 2020 · 1 comment · May be fixed by #892
Open

Add command to delete Apps Script projects #799

elderfd opened this issue Jul 24, 2020 · 1 comment · May be fixed by #892

Comments

@elderfd
Copy link
Contributor

elderfd commented Jul 24, 2020

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

@fantonangeli fantonangeli linked a pull request Nov 30, 2021 that will close this issue
3 tasks
@fantonangeli
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants