Skip to main content

Content-CLI (2023-08-24)

 

Attention: YAML migration affecting Content-CLI export

In this release of Content-CLI we’re changing some of the configurations for the YAML and JSON parsers used to export packages and assets. For each of your assets and packages, the next time you use Content-CLI to export it and push it to Github or another version control system, the file comparison (diff) will show the changes resulting from the migration.

 

  • For JSON content, the content will be pretty-printed.
  • For YAML content, multiline strings will have escaped characters unless you’ve used block scalar format with an indicator for the literal style (|) or the folded style (>). When you’re writing a multiline PQL query or another multiline string, we recommend using literal style for the best experience in the YAML editor, and using newlines in visual editors. Here’s an example of literal style:

 

pql: |

AVG(CASE WHEN "ACTIVITY_TABLE"."USER_TYPE" = 'A'

THEN 0

ELSE 1 END)

 

 

Be the first to reply!