Skip to content

Commit

Permalink
Updates documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
HazardDede committed May 24, 2019
1 parent a9f38d8 commit 40d24ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -97,6 +97,7 @@ statements:
my_env: "{{var::my_env}}"
home: "{{var::home}}"
unknown: "{{var::unknown}}"
combined: "{{var::my_env}}@{{var::home}}"
"""

var_ext = ext.Variables(
Expand All @@ -109,7 +110,8 @@ from pprint import pprint
pprint(result)

# Result:
# {'statements': {'home': '/home/pi',
# {'statements': {'combined': 'development@/home/pi',
# 'home': '/home/pi',
# 'my_env': 'development',
# 'unknown': 'none'}}

Expand Down

0 comments on commit 40d24ee

Please sign in to comment.