Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 704 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 704 Bytes

String-replacer

This project replaces the placeholders ${namespace:key} in the parsed string with the value obtained from the variables file ".properties" that matches the key of the placeholder.

Reads the commands from STDIN and writes results to STDOUT. Reporting of error conditions is done via STDERR.

INPUT: [parameters]

Keyword: language/replace/quit

The command for changing language is: language [country_code] Note: The folder(en/fr) which contains the variable files should be in the same path as source files.

Replacements are submitted to the program using the replace command: replace "[String to process]" [preserveUnmatched=false]

Exit the program : quit