CloudSlang / cloud-slang

CloudSlang Language, CLI and Builder
http://cloudslang.io
Apache License 2.0
236 stars 82 forks source link

CLI to print the full outputs (instead of the partial one ending in ...) as needed? #1000

Open shuchihlin opened 7 years ago

shuchihlin commented 7 years ago

In CLI we noticed the outputs could get truncated and wonder whether the can be changed as needed (i.e. to always display the complete outputs instead of a partial one ending in "...". I raised this question at teh slack channel and Andrei asked to file an issue so the team could investigate "possibilities of verbosity".

example: cslang>run --f /var/tmp/cslang-cli/content/io/cloudslang/amazon/aws/ec2/instances/run_instances.sl --i identity=xxx,credential=yyy,image_id=ami-31814f58

Operation outputs:

levice14 commented 7 years ago

@shuchihlin currently the character limit for output values in the CLI is 100 so the console window will not be flooded with output data - if you would like to see the whole output value, you can check the <cli home>/logs/execution.log: you should look for an event of type EVENT_OUTPUT_END - under outputs key

WDYT?