[PR #587] [CLOSED] adding new CLI Command (--cleanupdelete / -gcd) #868

Closed
opened 2025-12-29 01:29:44 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dehydrated-io/dehydrated/pull/587
Author: @pfuender
Created: 8/15/2018
Status: Closed

Base: masterHead: master


📝 Commits (2)

  • 3de23f1 adding new CLI Command (--cleanupdelete / -gcd) to cleanup+delete (instead of just moving to /archive)
  • 7c5d70a Merge 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.

## 📋 Pull Request Information **Original PR:** https://github.com/dehydrated-io/dehydrated/pull/587 **Author:** [@pfuender](https://github.com/pfuender) **Created:** 8/15/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`3de23f1`](https://github.com/dehydrated-io/dehydrated/commit/3de23f1a8bb7cfc4a99610a3cfc21b37f818232f) adding new CLI Command (--cleanupdelete / -gcd) to cleanup+delete (instead of just moving to /archive) - [`7c5d70a`](https://github.com/dehydrated-io/dehydrated/commit/7c5d70a1028736b1d7658387da7a09f993b7c13d) Merge branch 'master' into master ### 📊 Changes **1 file changed** (+31 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `dehydrated` (+31 -9) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 01:29:44 +01:00
adam closed this issue 2025-12-29 01:29:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#868