google / clasp

🔗 Command Line Apps Script Projects
https://developers.google.com/apps-script/guides/clasp
Apache License 2.0
4.52k stars 422 forks source link

New feature of clasp revert clone! #990

Open iRupam opened 9 months ago

iRupam commented 9 months ago

(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)

It's not an issue first of all. Just like to mention that it's a feature clasp should have. I'd be happy to do the code for it too if I get some positive response regarding the feature.

Expected Behavior

We should be able to revert a bad clone. Some first time user might be cloning badly or simply don't want to clone.

Actual Behavior

There should exists some clasp clone revert kind of command similar to git revert.

Steps to Reproduce the Problem

  1. clasp clone "project id"

Specifications

HoldYourWaffle commented 9 months ago

What would be the difference between clone revert and deleting the newly cloned folder?

iRupam commented 9 months ago

I guess the effects of both are same, but would be nice if we can do from clasp command itself.