Skip to content
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

Use picocli for main cli #946

Merged
merged 43 commits into from
Dec 30, 2019
Merged

Use picocli for main cli #946

merged 43 commits into from
Dec 30, 2019

Conversation

melowe
Copy link
Contributor

@melowe melowe commented Dec 19, 2019

Complete outstanding port from commons-cli to piccolo.
Collapse admin-cli into config cli.

chris-j-h and others added 30 commits November 29, 2019 11:54
Create a PicoCli cmd with usage and help, and dynamically produce CLI options from config object fields
Add keygen as a subcommand to the main tessera command
Add keygen as a subcommand to the main tessera command
Add keyupdate as a subcommand to the main tessera command
# Conflicts:
#	pom.xml
This is a temporary stopgap until the cli module is flattened and further simplified
# Conflicts:
#	tessera-dist/tessera-launcher/build.gradle
Make minor changes to the pico implementation code in response to test migration
e.g. --override root.branch[1].property=overridden-value.  Previously, this was not possible.
@codecov-io
Copy link

codecov-io commented Dec 19, 2019

Codecov Report

Merging #946 into master will decrease coverage by 0.03%.
The diff coverage is 98.45%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #946      +/-   ##
============================================
- Coverage     99.32%   99.28%   -0.04%     
+ Complexity     2078     2050      -28     
============================================
  Files           311      316       +5     
  Lines          5778     5622     -156     
  Branches        326      318       -8     
============================================
- Hits           5739     5582     -157     
  Misses            5        5              
- Partials         34       35       +1
Impacted Files Coverage Δ Complexity Δ
...orum/tessera/config/cli/admin/AdminCliAdapter.java 100% <ø> (ø) 4 <0> (?)
...a/config/cli/admin/subcommands/AddPeerCommand.java 97.36% <ø> (ø) 11 <0> (?)
...om/quorum/tessera/config/cli/KeyUpdateCommand.java 100% <100%> (ø) 18 <18> (?)
.../main/java/com/quorum/tessera/cli/CliDelegate.java 100% <100%> (ø) 5 <1> (-12) ⬇️
...um/tessera/config/cli/KeyUpdateCommandFactory.java 100% <100%> (ø) 3 <3> (?)
...om/quorum/tessera/cli/parsers/ConfigConverter.java 100% <100%> (ø) 3 <0> (ø) ⬇️
.../tessera/config/cli/NoTesseraCmdArgsException.java 100% <100%> (ø) 1 <1> (?)
...va/com/quorum/tessera/config/cli/OverrideUtil.java 100% <100%> (ø) 58 <0> (ø) ⬇️
...om/quorum/tessera/config/cli/EncryptorOptions.java 100% <100%> (ø) 8 <8> (?)
...orum/tessera/config/cli/ArgonOptionsConverter.java 100% <100%> (ø) 3 <3> (?)
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d445165...8bd8b94. Read the comment docs.

@stale
Copy link

stale bot commented Dec 27, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.10.3 0.10.3 enhancement Non-user code enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants