WithSecureLabs / snake-tail

snake-tail - the command line ui for snake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More of a feature request than an issue

srcr opened this issue · comments

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

Agreed, snake-tail is a little out of date, when I get round to bringing it up to scratch I will handle the above.