opensearch-project / opensearch-benchmark

OpenSearch Benchmark - a community driven, open source project to run performance tests for OpenSearch
https://opensearch.org/docs/latest/benchmark/
Apache License 2.0
111 stars 79 forks source link

Add shorthand alternatives for command line options in OSB #660

Closed OVI3D0 closed 1 month ago

OVI3D0 commented 1 month ago

Description

Adds short-hand alternatives for commonly used command line options in OSB.

Now, rather than running: opensearch-benchmark execute-test --workload=geonames --target-hosts=127.0.0.1:9200 --test-mode --kill-running-processes

one can instead run: opensearch-benchmark execute-test -w=geonames -th=127.0.0.1:9200 --test-mode -krp

Issues Resolved

639

Testing

Tested by using shorthand alternatives for the commands changed.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

IanHoang commented 1 month ago

Could we also add one for opensearch-benchmark --version (to match how --help has -h)?

IanHoang commented 1 month ago

This will streamline the testing experience. Thanks for doing this!

OVI3D0 commented 1 month ago

Could we also add one for opensearch-benchmark --version (to match how --help has -h)?

Done!