Exit codes in WP-CLI ? #5721
-
Hello Can we generally say that every command in wp-cli returns:
?? Are there other exit codes in other cases? I need to write some scripts so I would like to know how return codes work |
Beta Was this translation helpful? Give feedback.
Answered by
danielbachhuber
Jan 30, 2023
Replies: 1 comment
-
Thanks for the question, @kanlukasz! Yes, success exits as Here's an issue with some relevant history: #4525 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ernilambar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the question, @kanlukasz!
Yes, success exits as
0
and error exits as1
.Here's an issue with some relevant history: #4525