elasticsearch/libs
Ryan Ernst 1d4534f848
Introduce unified entrypoint for CLI scripts (#85821)
CLI scripts have a common infrastructure in that they call to the shared
elasticsearch-cli shell script which launches them with the appropriate
java command line. However, each underlying Java class must implement
its own main method.

This commit introduces a single main method to be shared by CLIs. The
new CliToolLauncher takes in system properties to determine which tool
is being run, and a new CliToolProvider SPI allows defining and finding
the named tools.

relates #85758

Co-authored-by: William Brafford <william.brafford@elastic.co>
2022-04-14 08:53:36 -07:00
..
cli Introduce unified entrypoint for CLI scripts (#85821) 2022-04-14 08:53:36 -07:00
core Replace JavaVersion with Runtime.Version (#85361) 2022-03-28 12:46:59 -07:00
dissect Use Java 14 switch expressions (#82178) 2022-01-10 09:53:35 +01:00
geo Add missing explicit no-args ctors (#84763) 2022-03-09 11:08:48 +00:00
grok Use Java 14 switch expressions (#82178) 2022-01-10 09:53:35 +01:00
h3 Add x-content testing jar (#84775) 2022-03-09 09:48:34 -08:00
log4j Patch log4j JAR to remove JndiLookup class (#81629) 2021-12-10 15:51:38 -08:00
lz4 Use Java 14 switch expressions (#82178) 2022-01-10 09:53:35 +01:00
plugin-classloader Cleaning up some buildscripts (#85394) 2022-03-31 10:48:48 +02:00
secure-sm Make classes+methods that can be static static in many spots (#85370) 2022-03-30 00:21:56 +02:00
ssl-config Cleaning up some buildscripts (#85394) 2022-03-31 10:48:48 +02:00
x-content Speed up JsonXContentParser token conversion and text() (#85621) 2022-04-01 18:06:54 +02:00
build.gradle Move x-content implementation to a separate classloader (#83705) 2022-03-07 15:44:59 -08:00