yamlinc icon indicating copy to clipboard operation
yamlinc copied to clipboard

Inline code parser

Open francescobianco opened this issue 6 years ago • 0 comments
trafficstars

New feature to develop is Inline code parser. This enables the possibility to parse YAML string from command-line and use $include tag to compound multiple files without the main file like this

$ yamlinc --inline '{ $import: a.yml, $import: b.yml }'

other examples

$ yamlinc --inline '{ $import: basefile.yml, version: '0.0.1-new' }'
$ yamlinc --inline 'sample:\
  node: "test"\
  $include: rest.yml'

francescobianco avatar Jan 22 '19 15:01 francescobianco