elasticsearch/libs/cli
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
..
licenses Move cli sub-project out of server to libs (#31184) 2018-06-07 16:35:34 -04:00
src/main/java/org/elasticsearch/cli Introduce unified entrypoint for CLI scripts (#85821) 2022-04-14 08:53:36 -07:00
build.gradle Update build tools internal dependencies (#82875) 2022-01-24 13:16:38 +01:00