-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Problem
Currently, the tool allows adding comments inside fields, but it does not support adding comments outside of fields—such as at the beginning of the file (header comments) or between top-level key-value pairs.
This limitation makes it difficult to include important metadata like license notices, copyright information, file descriptions, or general documentation directly within the YAML output.
Proposed Feature
Enable users to define top-level comments, including:
- Header comments (before the first key-value pair)
- Standalone comments between top-level fields
Use Case
- Ensuring compliance by adding license and copyright notices.
- Providing documentation within YAML for better readability.
Would it be possible to support this feature? It would be incredibly useful!
Metadata
Metadata
Assignees
Labels
No labels