travelport-czech/compile_conf

Simple builder configuration files from environment, encrypted values or user input

Installs: 88 445

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 4

Forks: 2

Open Issues: 0

Language:Python

1.0.11 2024-03-19 08:00 UTC

This package is auto-updated.

Last update: 2024-04-19 08:06:29 UTC


README

Simple builder configuration files from environment, encrypted values or user input

Complete syntax is:

compile_conf [{-k|--aes-key} aes_key_file] [{-K|--rsa-key} rsa_key_file] [{-d|--diff} diff_file] [{-D|--def} comment key value] {support|production|testing|internal|devel} sample_file config_file

but typical usage is very easier:

compile_conf production config.sample config.cfg

where

  • production defines environment where be config.cfg used
  • config.sample is source of configuration - contain definitions for all enviromnents
  • config.cfg is output file

Tool is available by composer:

composer require travelport-czech/compile_conf '*'

Depends on package PyCrypto(deprecated) or PyCryptodome(recommended)