When importing from file, the '--force' flag is not propagated and the conflicting records are not updated:
sudo add -f -i hosts.txt
The remove command using file input also seems not to work, e.g. sudo remove -f -i hosts.txt does not remove previously added records.
It seems that it will need some changes to https://github.com/jonhadfield/python-hosts.
When importing from file, the '--force' flag is not propagated and the conflicting records are not updated:
sudo add -f -i hosts.txtThe remove command using file input also seems not to work, e.g.
sudo remove -f -i hosts.txtdoes not remove previously added records.It seems that it will need some changes to https://github.com/jonhadfield/python-hosts.