Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/filak/MessyProps
Browse files Browse the repository at this point in the history
  • Loading branch information
filak committed Sep 24, 2024
2 parents a2d8c5e + 1789328 commit 3182c40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@ The script might be useful for:

There are 3 commands/actions available:

$ py props_check.py clean -h
$ py props_check.py sort -h
$ py props_check.py compare -h
$ py props_check.py locate -h

## Examples

### Deduplicate, sort and merge several config *.properties files
### Sort, check for duplicates and merge several config files

$ py props_check.py clean --indir /messy_project/configs --output merged_configs.properties
$ py props_check.py sort --indir /messy_project/configs --output merged_configs.properties

### Compare two messages_*.properties files
### Compare two props files to check

- for differing keys:

$ py props_check.py compare messages_en.properties messages_cs.properties

- for differing keys and values:

$ py props_check.py compare new/messages_en.properties old/messages_en.properties --values
$ py props_check.py compare new/config.properties old/config.properties --values

### Locate keys from a props file in a git repository

Expand Down

0 comments on commit 3182c40

Please sign in to comment.