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

Implement ability to read parameter from yaml files #8

Closed
ahelmbr opened this issue Jul 29, 2019 · 0 comments
Closed

Implement ability to read parameter from yaml files #8

ahelmbr opened this issue Jul 29, 2019 · 0 comments
Labels
feature New feature

Comments

@ahelmbr
Copy link
Contributor

ahelmbr commented Jul 29, 2019

Add ability to read all information from yaml file(s) - this could be a single parameter or a block of parameters or at least the whole command could be packed into a yaml file and read from there:

Identifier for reading from File is @
examples:
mqtt con -u @myname.yaml
mqtt @myFile.yaml

Content should look like described in the example:

mqtt:
_version: 5
method: con
client:
identifier: C1
user: Max
password: "$"
cleanStart: 1
sessionExpiry: 0
will:
properties:
p:
- "p1:x1"
- "p2:x2"
topic: "/myLastWill"
message: "@/path2my/will.yaml"

@ahelmbr ahelmbr added this to the Version 1.0 milestone Jul 29, 2019
@ahelmbr ahelmbr added the feature New feature label Jul 29, 2019
@ahelmbr ahelmbr removed this from the Version 1.0 milestone Aug 28, 2019
@gitseti gitseti closed this as completed Oct 5, 2022
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