Releases: goodhosts/cli
v1.1.2
What's Changed
- cleanup readme and some dirs by @luthermonson in #38
- cleanup in prep for testing by @luthermonson in #39
- migrate to mage by @luthermonson in #40
- adding list tests, reworked erroring to be testable by @luthermonson in #41
- reworked tests for version, moved test debug/quiet to cmd by @luthermonson in #42
- adding debug tests by @luthermonson in #43
- remove tests by @luthermonson in #44
Full Changelog: v1.1.1...v1.1.2
v1.1.1
What's Changed
- Documentation: fix inconsistency in README.md by @yunginnanet in #35
- go1.21, latest hostsfile with indexing fixes, cleanup by @luthermonson in #37
New Contributors
- @yunginnanet made their first contribution in #35
Full Changelog: v1.1.0...v1.1.1
v1.1.0
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
Change clean shortcommand to cl
to not clash with check
v1.0.6
v1.0.5
Added clean and dry-run flags to add and remove.
v1.0.4
Added clean command.
v1.0.3
- Fixed bug in comments while flushing to disk goodhosts/hostsfile #9