Skip to content

Releases: goodhosts/cli

v1.1.2

25 Jan 04:57
6a2a597
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.1...v1.1.2

v1.1.1

30 Sep 17:17
6b6c85e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.1.1

v1.1.0

03 Dec 05:08
Compare
Choose a tag to compare

Note: this release contains hostsfile v0.1.0 with major updates to performance to finding items in a hostsfile. if anyone was having trouble with large hostsfiles causing delays you will want to try this release.

Breaking Changes: Release has breaking changes for the clean subcommand. if you were using it before as just goodhosts clean that is now goodhosts clean -A and you can now us flags to target individual cleans you would like to perform on your hostsfile. To accommodate the change goodhosts clean is now a noop and requires flags to perform any functionality.

~\goodhosts\cli [main] > goodhosts clean --help
NAME:
   goodhosts.exe clean - Clean the hostsfile by doing: remove dupe IPs, for each IPs remove dupe hosts and sort, sort all IPs, split hosts per OS limitations

USAGE:
   goodhosts.exe clean [command options] [arguments...]

OPTIONS:
   --dry-run                            Dry run only, will output contents of the cleaned hostsfile without writing the changes (default: false)
   --all, -A                            Perform all Cleanup Jobs (default: false)
   --remove-duplicate-ips, --rdi        Remove all duplicate ips (default: false)
   --remove-duplicate-hosts, --rdh      Remove all duplicate hosts (default: false)
   --sort-hosts, --sh                   Sort each ip's hosts alphabetically (default: false)
   --sort-ips, --si                     Sort all ips numerically (default: false)
   --hosts-per-line value, --hpl value  Number of hosts allowed per line (default: 9)
   --help, -h                           show help (default: false)

v1.0.7

18 Oct 17:54
488d9f7
Compare
Choose a tag to compare

Change clean shortcommand to cl to not clash with check

v1.0.6

16 Oct 19:48
32d25e2
Compare
Choose a tag to compare
  • Fixes a panic in the clean functionality #16
  • Adds a version command #17

v1.0.5

15 Oct 09:30
9bf7bae
Compare
Choose a tag to compare

Added clean and dry-run flags to add and remove.

v1.0.4

07 Sep 20:26
40ec433
Compare
Choose a tag to compare

Added clean command.

v1.0.3

08 Jun 23:24
4e60d02
Compare
Choose a tag to compare

v1.0.2

25 May 23:32
4744a4f
Compare
Choose a tag to compare

Changelog

4744a4f Merge pull request #10 from luthermonson/hostsfile-v0.0.3
39ee2d4 gorelease on tag, ci on pull/push
071a707 lint and goimports
06a601f vendor

v1.0.1

21 May 10:03
10fdacd
Compare
Choose a tag to compare

Changelog

cd089b8 Add Makefile
cfbe69e Merge pull request #4 from praveenkumar/master
10fdacd Merge pull request #8 from luthermonson/updates
db551a1 Update README.md
d6eb6a6 default output acts like fmt.Println, goreleaser project name
214f17f vendor