<exit> exit the current command

name
exit
xml namespace
http://moyaproject.com

Exit the current command. When Moya sees this tag it stops running the current command and returns an exit code. It will also write any enclosed text to the console.

Example

<exit code="-5" if="not continue">User cancelled</exit>
attributes
name purpose type required? default choices
code Return code expression No 0
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes