Add and remove hosts from the command line.