Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add CLI for layer options #58
Conversation
|
slightly confused of the two parameter incantation. Could you provide an example layer options>? |
|
@marcoceppi The first parameter is the "section" or layer name. The second is the option name. E.g., your generated "options":
"test":
"test_arr": ["foo", "bar", "qux"]
"test_bool": !!bool "true"
"test_str": "foo"
"test_int": !!int "10"
"basic":
"use_venv": !!bool "false"
"packages": []
"include_system_packages": !!bool "false"
"includes":
- "layer:basic"
"is": "test"And you could access options from either layer with:
|
|
Moved the path manipulation to reduce commit clutter. |
|
Does chaning work as expected? IE: |
|
No. I wasn't sure if it was worth implementing that for bash charms. Also, IBM is currently blocked on this, so wanted to get a first pass through. |
|
+1 looks OK to me |
|
LGTM |
johnsca
merged commit 7d5ec1b
into
juju-solutions:master
Apr 20, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
johnsca commentedApr 19, 2016