Currently if you try to upload a file, for example, and the file already exists the snake-tail tools prints the API error from the web server and does an exit (0) ideally you would want to reflect this error in the exit code when the tool exits.
$ snake-tail upload file a.exe ; echo $?
Status: Error
Message: upload/file - file already exists for given sha256 digest
0
Currently if you try to upload a file, for example, and the file already exists the snake-tail tools prints the API error from the web server and does an exit (0) ideally you would want to reflect this error in the exit code when the tool exits.