Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vitalegi/properties-analyzer
https://github.com/vitalegi/properties-analyzer
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/vitalegi/properties-analyzer
- Owner: vitalegi
- Created: 2020-03-16T23:51:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-16T05:43:38.000Z (almost 2 years ago)
- Last Synced: 2023-03-06T15:39:58.623Z (over 1 year ago)
- Language: Java
- Size: 99.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
Aim of this project is to compare different properties file, searching for properties that don't match.
## Compile
```bash
set PATH=C:\a\software\apache-maven-3.5.0\bin;C:\Program Files\Java\jdk1.8.0_131\bin;%PATH%
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
mvn clean package
```## Run
```bash
set PATH=C:\Program Files\Java\jdk1.8.0_131\bin;%PATH%
java -jar .\target\properties-analyzer-0.0.2.jar
```### OPTIONS
`--a=alias1 --f=path\to\file1.properties --a=alias2 --f=path\to\file2.properties --a=alias3 --f=path\to\file3.properties --m=mode --o=path\to\output\file`
`--a` _alias_
Alias of the next properties file declared.
`--f` _filepath_
Path where properties file is located.
`--m` _mode_
Mode to use. Possible values:
- list
- tabular`--o` _filepath_
Path where to store the resulting analysis
#### Example usage
`--a=test --f=test-application.properties --a=uat --f=uat-application.properties --a=preprod --f=preprod-application.properties --a=prod --f=prod-application.properties --m=tabular --o=diffs.html`
Will analyze the files _test-application.properties_ (test), _uat-application.properties_ (uat), _preprod-application.properties_ (preprod), _prod-application.properties_ (prod), printing the results to file _diffs.html_.