iectl apply --manifest "/path/to/iem_to_ied.yaml"
To create an app on IEM and then to install the app on a device use above command
Within the YAML file, you also have the possiblity to re-use the query option and reference outputs from previously executed commands within the manifest file. Command parameter which reference the output and and query result of different components have to follow the following scheme:
parameter : command.name.separated.by.dots#{.query}
NOTICE
You have to provide query in JSONPath query language . Example of using query is shown below in manifest file.
JSONPath is a query language for JSON. JSONPath is used for selecting and extracting a sub-section from the JSON document.