Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thefox/parameters-rust
Automatic replace variables in configuration file templates from environment variables.
https://github.com/thefox/parameters-rust
configuration-files dotenv mit-license rust symfony
Last synced: about 1 month ago
JSON representation
Automatic replace variables in configuration file templates from environment variables.
- Host: GitHub
- URL: https://github.com/thefox/parameters-rust
- Owner: TheFox
- License: mit
- Created: 2019-11-03T11:10:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-25T10:09:01.000Z (over 2 years ago)
- Last Synced: 2024-10-31T11:35:40.217Z (2 months ago)
- Topics: configuration-files, dotenv, mit-license, rust, symfony
- Language: Rust
- Homepage: https://blog.fox21.at/2018/11/17/parameters.html
- Size: 60.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG-v0.md
- License: LICENSE
Awesome Lists containing this project
README
# Parameters written in Rust
## Project Outlines
The project outlines as described in my blog post about [Open Source Software Collaboration](https://blog.fox21.at/2019/02/21/open-source-software-collaboration.html).
- The main purpose of this software is to handle one template file and generate another file out of that. This is used for CI/CD pipelines, where a .env.dist file is taken to generate a .env file for production environment.
- This list is open. Feel free to request features.## Examples
TODO
## Installation
```bash
cargo install parameters
```## Similar projects
- [Parameters written in C++](https://github.com/TheFox/parameters)
## Dev
```bash
./bin/dev.sh -i ./.env.dist -o ./.env.production -e production -n instance1 -r SYMF_ -s @
./bin/dev.sh -i ./.env.dist -r ^
echo -n hello | ./bin/dev.sh -i - -o ./.env.production -e production -n instance1 -r ^SYMF_ -s @
```