Hostile
Pack it in - re-use Crate name for something else.
A tool for manipulating Hosts files.
Add host
Delete host by IP, Host or both.
Block a host by routing to localhost.
Remove block to host.
Check for existing host by IP, host or both.
Return proper exit codes.
Remove duplicates, sort alphabetically.
Copy external hosts file.
Test using https://github.com/StevenBlack/hosts
Backup hosts file to local dir, git repo or S3.
Restore from old backup.
Open hosts file in preferred ${EDITOR}
Cat out hosts file with nice highlighting/formatting.
Self update Hostile CLI.
(probably not needed)
Set/unset/show config values.
Ensure all entries are valid, no duplicates, file has been formatted etc.
Spit out help for commands.
More logging.
No logging.
No action.
Help per command.