Open rqc opened 8 years ago
Hi @rqc , Did you look at input file capability: http://cloudslang-docs.readthedocs.org/en/v0.8/cloudslang_cli/#run-with-inputs
And we support maps of imputs, take a look at : http://cloudslang-docs.readthedocs.org/en/v0.8/yaml_overview/#maps
@Bonczidai @oritstone you have in mind any map example in our content today?
Hi @rqc , thanks for your feedback!
Some of my comments:
"'CloudSlang'"
) because inputs are loaded with Yaml and then evaluated using Python (so you have 2 layers) - person_map: >
{'john': 1, 'jane': 2, 'peter': 'three'}
@rqc thanks for you feedback :)
@oritstone thank you for your team's help.
Thanks @rqc It is a good idea to improve our CLI UX. We will definitely add it to our roadmap
Hello,
I just wanted to give a bit of feedback on the usability of cloudslang DSL. Here they are;
can be very detrimental to productivity and error prone. Instead it would be easier to do something like:
or at least:
run
command. Right now, you have to wrap all inputs in double quotes separated by commas, then you have to escape special characters if you use them as values to the input parameters, etc. Again, this is very error prone to use manually and even when you are trying to use this programmatically. My suggestion is have flags that can be repeated likedocker run
allows multiple-v
or-e
flags. Maybe have a flag-i
that specifies each separate input.Not sure if this is allowed by yaml format, but it is worth the investigation.
Thanks!