Skip to content

SLING-8519 - Improve CLI parsing and general look and feel #4

New issue

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

Merged
merged 3 commits into from
Jun 20, 2019

Conversation

raducotescu
Copy link
Member

  • embedded picocli.CommandLine version 4.0.0-beta-1b
  • refactored commands

* embedded picocli.CommandLine version 4.0.0-beta-1b
* refactored commands
@rombert
Copy link
Contributor

rombert commented Jun 18, 2019

@raducotescu - curious, why did you add the picocli source code to the project? I would've thought we can pull it in as a Maven dependency. Incidentally, this makes the build fail as the SonarQube plugin chokes on this file.

@raducotescu
Copy link
Member Author

@rombert, currently picocli doesn't offer an OSGi friendly bundle. See [0]. I guess I could embed the module for now into the Committer CLI bundle and once picocli provides an OSGi-ready jar we can omit the embed.

[0] - remkop/picocli#734

@rombert
Copy link
Contributor

rombert commented Jun 19, 2019

@raducotescu - sounds good to me ! I see your PR has already been merged and

(...) will be included in the 4.0.0-beta-2 release later this week.

So you can either wait for the release or embed it, it's fine for me either way.

@raducotescu
Copy link
Member Author

I'd wait for the release and then merge our PR as well.

@remkop
Copy link

remkop commented Jun 20, 2019

Picocli 4.0.0-beta-2 has been released.

The picocli user manual now has a (very brief) section that mentions that the main jar is now an OSGi bundle. If anyone has recommendations to improve this section, any feedback is welcome!

Enjoy!

* switched to picocli 4.0.0-beta-2 which provides OSGi support
@raducotescu raducotescu merged commit 57c186e into master Jun 20, 2019
@raducotescu raducotescu deleted the issue/SLING-8519 branch June 20, 2019 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants