elastic / package-spec

EPR package specifications
Other
18 stars 72 forks source link

Add documentation and handlebars validation for helpers #21

Open andrewstucki opened 4 years ago

andrewstucki commented 4 years ago

We just added the first handlebars helper for use in packages in https://github.com/elastic/kibana/pull/72698 in order to support some beats filebeat module conversion to packages. We should have:

  1. documentation for the available helpers here for anyone writing a new package, and
  2. code for validating the handlebars templates prior to being pushed down to Kibana.
ruflin commented 4 years ago

@ycombinator I would consider something like above to be part of the package spec. WDYT?

ycombinator commented 4 years ago

Agreed. Let's move this issue to the package spec repo so we can make sure this work is done there.