mirror of
https://github.com/goodhosts/cli.git
synced 2026-04-27 07:06:00 +03:00
[PR #14] [MERGED] Add clean and dry-run to add/remove #26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/goodhosts/cli/pull/14
Author: @luthermonson
Created: 10/15/2020
Status: ✅ Merged
Merged: 10/15/2020
Merged by: @luthermonson
Base:
master← Head:more-clean📝 Commits (2)
a609742vendor079edbeadding clean and dry run to add/remove📊 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
cleananddry-runto 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.