Skip to content

Commit e8f1b75

Browse files
readme
1 parent 6c69f46 commit e8f1b75

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

energyml-utils/README.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,31 @@ energyml-prodml2-2 = "^1.12.0"
8989

9090

9191

92-
## Validation example :
92+
## Installation to test poetry scripts :
9393

94+
```bash
95+
poetry install
96+
```
97+
98+
99+
## Validation examples :
100+
101+
An epc file:
102+
```bash
103+
poetry run validate --input "path/to/your/energyml/object.epc" *> output_logs.json
104+
```
105+
106+
An xml file:
94107
```bash
95108
poetry run validate --input "path/to/your/energyml/object.xml" *> output_logs.json
96109
```
110+
111+
A json file:
112+
```bash
113+
poetry run validate --input "path/to/your/energyml/object.json" *> output_logs.json
114+
```
115+
116+
A folder containing Epc/xml/json files:
117+
```bash
118+
poetry run validate --input "path/to/your/folder" *> output_logs.json
119+
```

0 commit comments

Comments
 (0)