More cli sanity verifications

This commit is contained in:
Fabiano Franz
2017-05-03 12:59:52 -03:00
parent 151846db80
commit 3bb04c67cc
4 changed files with 84 additions and 18 deletions

View File

@@ -32,9 +32,12 @@ clicheck=$(kube::util::find-binary "clicheck")
if ! output=`$clicheck 2>&1`
then
echo "FAILURE: CLI is not following one or more required conventions:"
echo "$output"
echo
echo "FAILURE: CLI is not following one or more required conventions."
exit 1
else
echo "$output"
echo
echo "SUCCESS: CLI is following all tested conventions."
fi