Skip to content

How do you return json and specify exit code? #1270

Answered by mdonnalley
jasonkuhrt asked this question in Q&A
Discussion options

You must be logged in to vote

you can use process.exitCode = 9999 and oclif should respect that up when exiting the command

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jasonkuhrt
Comment options

Comment options

You must be logged in to vote
1 reply
@mdonnalley
Comment options

Answer selected by jasonkuhrt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants