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
0.1.1
raw format
0.1.0
initial release
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.1.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for nejimaki-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82a1d65a0f67a90fab9f9da52169d905c37e4c80a84796d0003982d56673b22c |
|
MD5 | 390c89056f3d571736fe539ec35ace81 |
|
BLAKE2b-256 | 7177d25b60dc1b8faa99b43dd1a29db7e1a3760064338e46502c177d8c3fffc0 |