[
https://issues.apache.org/jira/browse/SLING-8391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16843862#comment-16843862
]
Robert Munteanu commented on SLING-8391:
----------------------------------------
[~radu.cotescu] - I was looking into this now, and I think I hit a little
problem.
With {{docker run --env-file=./docker-env apache/sling-cli release
create-jira-new-version 2082 --interactive}} I get the following problem:
{quote}
Found Version: Installer Health Checks 2.0.2 (id=12343031, fixed issues=3).
Should version Installer Health Checks 2.0.4 be created?
Yes (y)/No (n)? [Yes (y)]: Failed running command
java.lang.IllegalStateException: System console unavailable.
at org.apache.sling.cli.impl.UserInput.yesNo(UserInput.java:55)
at
org.apache.sling.cli.impl.release.CreateJiraVersionCommand.execute(CreateJiraVersionCommand.java:65)
at
org.apache.sling.cli.impl.CommandProcessor.runCommand(CommandProcessor.java:69)
at
org.apache.sling.cli.impl.ExecutionTrigger.lambda$activate$0(ExecutionTrigger.java:33)
at java.base/java.lang.Thread.run(Unknown Source)
{quote}
Also, it would be good to update the README and the default output from the
command to include the new syntax.
> Add support for execution modes
> -------------------------------
>
> Key: SLING-8391
> URL: https://issues.apache.org/jira/browse/SLING-8391
> Project: Sling
> Issue Type: New Feature
> Components: Tooling
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Priority: Major
> Fix For: Committer CLI 1.0.0
>
>
> The Commiter CLI tool should provide support for the following execution
> modes:
> # dry-run - default mode, which only lists the output of a command
> # interactive - lists command output, but based on user-input can also
> execute actions on behalf of the user (e.g. send email, release artifacts,
> update site, etc.)
> # auto - runs the command, assuming the default actions / answers
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)