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.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for nejimaki-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74dbf4cc6377da362663d4bc22a62ce3955a838914ab02ce58dcd19c89728a91 |
|
MD5 | 474067662bfdf6811258aa423f5a6f7c |
|
BLAKE2b-256 | d6e91007d49428a05407fdd9e0d3fb67c76eede435dc282e674b0c27103031d2 |