Closed protoEvangelion closed 5 years ago
I reckon i can pick this up 👍
All you @Aaron-K-T-Berry ! The two areas to start looking are: https://github.com/node-gh/gh/blob/master/src/cmds/repo.ts#L146 https://github.com/node-gh/gh/blob/master/src/cmds/gists.ts#L80
Let me know if you could use direction in the meantime.
I've added the messages for gists so far but I'm not sure how they should be looking.
Successfully deleted gist: 00f0f2e3d42419839b95c026a21dd3bd ✓
? Are you sure? This action CANNOT be undone. [y/N] n
Not deleted. ✗
Error: Can't delete gist: 00f0f2e3d42419839b95c026a21dd3bd. ✗
Let me know if this is the right direction and then I can do something similar for the repos. 😀
@Aaron-K-T-Berry I like it. What do you think about adding the check or x to the front of the line so it's clearer if they delete multiple gists at a time with gh gi --delete 4252321 --delete 4252322
?
Yeah I like it makes it a bit easier to scan through
Deleting gist Aaron-K-T-Berry/dd2b781fae167fa5a5e67ece01686e8f
✓ Successfully deleted gist: dd2b781fae167fa5a5e67ece01686e8f
Deleting gist Aaron-K-T-Berry/ebf9ac14204571a0255bfc6cf258fc3e
✓ Successfully deleted gist: ebf9ac14204571a0255bfc6cf258fc3e
Also for the error and not deleted message are a little clearer now at a glance.
? Are you sure? This action CANNOT be undone. [y/N] n
✗ Not deleted.
Error: ✗ Can't delete gist: f7b3365a6fe447182de1a6ff7ccb6009.
Very good! Feel free to add that to repo as well. It looks great 🎉
:tada: This issue has been resolved in version 2.3.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
We could add a simple success check mark like we do for PR builds that pass