emit files from one yaml file
Project description
generating file tree from one yamle file.
example
data.yaml
./conf:
./base:
base.yaml:
logging:
asctime: 2013-04-10 15:39:26,014
created: 1365604766.014612
levelname: INFO
message: test message
name: logger_name
dev.yaml:
debug: true
$inherits: "./base/base.yaml"
staging.yaml:
debug: false
$inherits: "./base/base.yaml"
production.yaml:
$inherits: "./staging.yaml"
$ nejimaki examples/readme/data.yaml --position=examples/readme
INFO nejimaki emit:conf/base/base.yaml
INFO nejimaki emit:conf/dev.yaml
INFO nejimaki emit:conf/staging.yaml
INFO nejimaki emit:conf/production.yaml
$ tree examples/readme/conf
examples/readme/conf
├── base
│ └── base.yaml
├── dev.yaml
├── production.yaml
└── staging.yaml
1 directory, 4 files
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
nejimaki-0.1.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for nejimaki-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 092cb17338f9747d4763790a3cbe4ed6a00828c88315b1f302203963c885f6cd |
|
MD5 | 24706bd810fe2f99db881c1251fdca78 |
|
BLAKE2b-256 | 6c1d9ed10b85cef12548e758410db69097d0a995b6ca90d5f59c49416bcfa566 |