MCPcopy Index your code
hub / github.com/remkop/picocli / getExitCode

Method getExitCode

src/main/java/picocli/CommandLine.java:1200–1200  ·  view source on GitHub ↗

Returns the exit code that should be returned from the #execute(String...) execute method. @return the exit code

()

Source from the content-addressed store, hash-verified

1198 * @return the exit code
1199 */
1200 int getExitCode();
1201 }
1202 /** Interface that provides the appropriate exit code that will be returned from the {@link #execute(String...) execute}
1203 * method for an exception that occurred during parsing or while invoking the command's Runnable, Callable, or Method.

Callers 4

mappedExitCodeMethod · 0.65
mappedExitCodeMethod · 0.65
mappedExitCodeMethod · 0.65
resolveExitCodeMethod · 0.65

Implementers 15

CustomExitCodeGeneratorpicocli-examples/src/main/java/picocli
Appsrc/test/java/picocli/ExecuteTest.java
ExitCodeGensrc/test/java/picocli/ExecuteTest.java
Cmdsrc/test/java/picocli/ExecuteTest.java
MixinTestSubCommandsrc/test/java/picocli/RepeatableSubcom
ExitCodeExceptionMapperDemopicocli-examples/src/main/java/picocli
Appsrc/test/java/picocli/OptionMethodImpl
SubcommandTestssrc/test/java/picocli/SubcommandTests.
ExecuteTestsrc/test/java/picocli/ExecuteTest.java
Cmdsrc/test/java/picocli/ArityTest.java
RepeatableSubcommandsTestsrc/test/java/picocli/RepeatableSubcom
CommandLineExecutionsrc/test/java/picocli/test/CommandLine

Calls

no outgoing calls

Tested by 2

mappedExitCodeMethod · 0.52
mappedExitCodeMethod · 0.52