Crates.io | config-parse |
lib.rs | config-parse |
version | 2.2.2 |
source | src |
created_at | 2023-03-29 19:16:01.55123 |
updated_at | 2023-05-06 11:37:32.587507 |
description | A tool to check and extract certain key-values from your config files |
homepage | https://github.com/marcel-baur/config-parse |
repository | https://github.com/marcel-baur/config-parse |
max_upload_size | |
id | 824312 |
size | 60,441 |
A rust
app to extract public information from your config files while keeping secret information
(passwords, keys, etc) hidden. It also checks multiple config files to assert that they include the same keys.
Currently only for .yaml
and .properties
files.
The app is configured through the config_parser.toml
file.
files
: Paths of the files that will be parsed.keys
: Array
of String
types of the keys that will be extracted. Separated by dot notation (e.g.
auth.client.key
)Alternatively, you can supply the files and keys with CLI arguments:
config-parse --cli --files test/1.yaml --files test/2.yaml --keys one.big.cascade --keys url
.toml
, ...)