Python command line for property injection.
Project description
detokenizer
detokenizer of configuration files. Inject properties in source code before deployment.
Usage
This parameters are positional parameters.
Parameters | Description |
---|---|
source | source file, all tokens in this file will be replaced with properties |
target | target file, output after the replacement |
config | config files, this fils is a yaml file defining the delimiters for the token |
properties | properties file, this file contains the dictionary of properties which shall be injected into the source file |
the following command run the tool on the test data contained in this repo:
python3 -m detokenizer \
./test/data/source_folder/config.properties.php \
./build/config.php \
./test/data/config.yaml \
./test/data/default.properties
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
detokenizer-1.0.0rc5.tar.gz
(3.1 kB
view details)
File details
Details for the file detokenizer-1.0.0rc5.tar.gz
.
File metadata
- Download URL: detokenizer-1.0.0rc5.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32dface2094eed2459417b24f724ec4a79f1102f187e644bb4d1f29cb02a077f |
|
MD5 | 05994d2db641a5b4e1d1422b59da3393 |
|
BLAKE2b-256 | e9d0bc14670ca6cd8a589a16984e7807415d6a433d350c82a7e74c314c84f166 |