magneticio / vamp

Vamp - canary releasing and autoscaling for microservice systems
http://vamp.io
Apache License 2.0
623 stars 55 forks source link

vamp cli always exits 0 #1135

Open daniego opened 6 years ago

daniego commented 6 years ago

Hi, just noticed that the client doesn't sets proper exit code. Example: $ vamp list namespacesxxx Please choose the artifact to list: deployments, gateways, blueprints, breeds, workflows, roles, users, tokens. $ echo $? 0 and even worst $vamp create blueprint --namespace XXXXXX --file ~/order-intake_first.yaml Cannot execute the request command: Unexpected type for path 'memory'. $ echo $? 0

It would be lovely if we can have an appropriate exit code cos otherwise in automated deployment like ansible we need to check every command.

vamp -V 0.5.0