Skip to content

Commit 6fabdee

Browse files
committed
bump version number and update documentation
1 parent 7493064 commit 6fabdee

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
v0.1.0, 2015-06-06 -- Initial release.
22
v0.1.1, 2015-06-10 -- Make meta-compose-data.yml optional
33
v0.1.2, 2015-07-13 -- Allow multiple data files
4+
v0.1.3, 2015-07-14 -- Make template and output files configurable, fixed bug
5+
that made it fail when no data file was specified

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ This package aims to solve the problem of variable substitution in
44
docker-compose files by parsing them as [Jinja2](http://jinja.pocoo.org/)
55
template.
66

7-
It was inspired by the discussion [here](https://github.com/docker/compose/issues/1377)
7+
It was inspired by the discussion
8+
[here](https://github.com/docker/compose/issues/1377)
89

910
It supports variable declaration in a separate YAML file as well as
1011
access to environment variables.
1112

12-
## Usage:
13+
## Quickstart:
1314

1415
- Install with `pip install meta-compose`
1516

@@ -22,14 +23,22 @@ access to environment variables.
2223
- Call `meta-compose` and it will create a docker-compose.yml in the current
2324
directory
2425

26+
## Usage
27+
2528
```
26-
usage: meta-compose [-h] [-d DATAFILE]
29+
usage: meta-compose [-h] [-d DATAFILE] [-t TEMPLATE] [-o OUTPUTFILE]
2730
2831
optional arguments:
2932
-h, --help show this help message and exit
3033
-d DATAFILE, --datafile DATAFILE
3134
Use to specify data files in addition to meta-compose-
3235
data.yml. They must be JSON or YAML files.
36+
-t TEMPLATE, --template TEMPLATE
37+
Use to specify the template file to use. Defaults to
38+
./meta-compose.yml
39+
-o OUTPUTFILE, --outputfile OUTPUTFILE
40+
Use to specify the output file to create. Defaults to
41+
./docker-compose.yml
3342
```
3443

3544
## Syntax of meta-compose.yml

metacompose/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.1.2'
1+
__version__ = '0.1.3'

0 commit comments

Comments
 (0)