Comment Operators
plain form: =
relative form: |=
Set line comment
a: catyq '.a line_comment="single"' sample.ymla: cat # singleSet line comment of a maps/arrays
Use update assign to perform relative updates
Where is the comment - map key example
Retrieve comment - map key example
Where is the comment - array example
Retrieve comment - array example
Set head comment
Set head comment of a map entry
Set foot comment, using an expression
Remove comment
Remove (strip) all comments
Get line comment
Get head comment
Head comment with document split
Get foot comment
Last updated