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

support overriding config file in shell mode #148

Open
mammothbane opened this issue Jun 30, 2020 · 0 comments
Open

support overriding config file in shell mode #148

mammothbane opened this issue Jun 30, 2020 · 0 comments
Labels
feature New feature

Comments

@mammothbane
Copy link

Problem or use case

I want to connect to different brokers via mqtt shell in different situations (e.g. different projects, local dev vs. staging environments, etc.) and it'd be nice not to have to type out all of my connection parameters in connect every time.

The current config file in ~/.mqtt-cli only allows me to specify parameters for a single broker at a time, and is inherently global to my entire user.

Preferred solution or suggestions

I'd like to be able to pass a config file as a command line argument, e.g.

$ mqtt shell [-c|--config] path/to/config.properties
@gitseti gitseti added the feature New feature label Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants