We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Section https://picocli.info/#_initialization_before_execution uses deprecated invocation in return new CommandLine.RunLast().execute(parseResult);.
return new CommandLine.RunLast().execute(parseResult);
What is the recommended usage for IExecutionStrategy? Additionally the docs should be updated to include the recommended usage.
IExecutionStrategy
The text was updated successfully, but these errors were encountered:
Hey you are right! I never noticed that. Thanks for raising that.
It was not my intention to deprecate the execute method, to the contrary, that is the recommended method to use.
execute
I think it became this way because I deprecated AbstractParseResultHandler (the superclass of RunLast), where the execute method is implemented.
AbstractParseResultHandler
RunLast
I fixed it by overriding the execute method in the subclasses of AbstractParseResultHandler:
// RunAll, RunLast and RunFirst /** {@inheritDoc} */ public int execute(ParseResult parseResult) throws ExecutionException { return super.execute(parseResult); }
This will be part of the next release.
Sorry, something went wrong.
[#1421] execute method in RunAll, RunFirst and RunLast should…
RunAll
RunFirst
19c07a1
… not be deprecated
[remkop#1421] execute method in RunAll, RunFirst and RunLast …
a156204
…should not be deprecated
Revert "[remkop#1421] execute method in RunAll, RunFirst and `R…
a5d9381
…unLast` should not be deprecated" This reverts commit a156204.
4532882
No branches or pull requests
Section https://picocli.info/#_initialization_before_execution uses deprecated invocation in
return new CommandLine.RunLast().execute(parseResult);
.What is the recommended usage for
IExecutionStrategy
? Additionally the docs should be updated to include the recommended usage.The text was updated successfully, but these errors were encountered: