[PR #14] [MERGED] Add clean and dry-run to add/remove #26

Closed
opened 2026-03-02 05:09:17 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/goodhosts/cli/pull/14
Author: @luthermonson
Created: 10/15/2020
Status: Merged
Merged: 10/15/2020
Merged by: @luthermonson

Base: masterHead: more-clean


📝 Commits (2)

📊 Changes

8 files changed (+131 additions, -25 deletions)

View changed files

📝 cmd/add.go (+22 -2)
📝 cmd/clean.go (+11 -7)
📝 cmd/remove.go (+23 -2)
📝 go.mod (+1 -1)
📝 go.sum (+2 -2)
📝 vendor/github.com/goodhosts/hostsfile/hosts.go (+66 -9)
📝 vendor/github.com/goodhosts/hostsfile/hostsline.go (+5 -1)
📝 vendor/modules.txt (+1 -1)

📄 Description

Adds new flags clean and dry-run to add and remove commands.
https://github.com/goodhosts/cli/issues/12


🔄 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/goodhosts/cli/pull/14 **Author:** [@luthermonson](https://github.com/luthermonson) **Created:** 10/15/2020 **Status:** ✅ Merged **Merged:** 10/15/2020 **Merged by:** [@luthermonson](https://github.com/luthermonson) **Base:** `master` ← **Head:** `more-clean` --- ### 📝 Commits (2) - [`a609742`](https://github.com/goodhosts/cli/commit/a609742281735d2435c6089ac3f8ad9039fafd20) vendor - [`079edbe`](https://github.com/goodhosts/cli/commit/079edbec679d71f0b521daf93d0a4d1fe609c7a8) adding clean and dry run to add/remove ### 📊 Changes **8 files changed** (+131 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `cmd/add.go` (+22 -2) 📝 `cmd/clean.go` (+11 -7) 📝 `cmd/remove.go` (+23 -2) 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) 📝 `vendor/github.com/goodhosts/hostsfile/hosts.go` (+66 -9) 📝 `vendor/github.com/goodhosts/hostsfile/hostsline.go` (+5 -1) 📝 `vendor/modules.txt` (+1 -1) </details> ### 📄 Description Adds new flags `clean` and `dry-run` to add and remove commands. https://github.com/goodhosts/cli/issues/12 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 05:09:17 +03:00
Sign in to join this conversation.
No labels
bug
bug
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cli#26
No description provided.