Skip to content

Exit codes in WP-CLI ? #5721

Discussion options

You must be logged in to vote

Thanks for the question, @kanlukasz!

Yes, success exits as 0 and error exits as 1.

Here's an issue with some relevant history: #4525

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ernilambar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants