mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 23:23:32 +01:00
[PR #587] [CLOSED] adding new CLI Command (--cleanupdelete / -gcd) #868
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dehydrated-io/dehydrated/pull/587
Author: @pfuender
Created: 8/15/2018
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
3de23f1adding new CLI Command (--cleanupdelete / -gcd) to cleanup+delete (instead of just moving to /archive)7c5d70aMerge branch 'master' into master📊 Changes
1 file changed (+31 additions, -9 deletions)
View changed files
📝
dehydrated(+31 -9)📄 Description
Currently it's only possible to move the old certificates into the 'archive' folder. This PR adds the possibility to also delete them, without moving them into the archive folder. The new parameter is '--cleanupdelete'.
Additionally it checks prior archiving/deleting if a file exists - prevents the error-messages of not-existing files.
Let me know if you have any suggestions for improvements!
Thanks and Happy-Merging,
Pfuender
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.