stop execution of CLI functions after yielding exit code