servers:add[duplicate_host] has a return code of 1.
It might be worth to consider returning with 0 instead.
The command would then be nicer to use with e.g. Ansible and other automation. A playbook/script could just add the server over and over again without any special "error" handling.
servers:add[duplicate_host]
has a return code of 1.It might be worth to consider returning with 0 instead. The command would then be nicer to use with e.g. Ansible and other automation. A playbook/script could just add the server over and over again without any special "error" handling.