Anonymitaet opened a new issue, #19526: URL: https://github.com/apache/pulsar/issues/19526
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Motivation I've separated the code improvements from https://github.com/apache/pulsar/issues/19492 (created by @visortelle) and discussed them with @codelipenghui as below. ### 1. Show `enviroment variables` for `pulsar-admin` and `pulsar-client` on CLI Contexts: I've double-checked the current behavior: - `pulsar-perf -help` shows `environment variables` <img width="1000" alt="image" src="https://user-images.githubusercontent.com/50226895/218926299-9b56c9cb-b972-4208-8e90-29cdf3c1ec9e.png"> - while `pulsar-admin -help` and `pulsar-client` do not show `environment variables` <img width="306" alt="image" src="https://user-images.githubusercontent.com/50226895/218927276-b72f5bae-58ef-4b59-a182-da9028e5fd80.png"> <img width="338" alt="image" src="https://user-images.githubusercontent.com/50226895/218926938-bd543168-f46f-4c41-95a2-c183c6aeff0c.png"> To give users complete info,`environment variables` should be shown on `pulsar-admin` and `pulsar-client` CLI as well. ### 2. Implement `--config-file CLI` argument instead of `environment variables`. @visortelle has explained it in https://github.com/apache/pulsar/issues/19492 ### Solution _No response_ ### Alternatives _No response_ ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
