helm-values-schema-json icon indicating copy to clipboard operation
helm-values-schema-json copied to clipboard

Add support for multiline comments above property

Open Silthus opened this issue 3 months ago • 3 comments

Regarding #51 it would also be very helpful to allow comments above a property to be parsed for the schema tags.

For example:

# My description of this really cool property.
@ @schema title:"My Property"
# @schema maxLength:10;pattern:^[a-z]+$
my_property: some value

The above also defaults a non annotated comment above a property to use as the description. Maybe this could be turned on with a flag in the cli?

Silthus avatar Apr 11 '24 12:04 Silthus