Simple shell conditional
{{command}} && echo "success" || echo "failure"
if {{condition}}; then echo "true"; else echo "false"; fi