mirror of
https://github.com/mikefarah/yq.git
synced 2026-09-06 02:03:24 +08:00
fixing property comment handling
This commit is contained in:
@@ -154,7 +154,9 @@ will output
|
||||
cool: things
|
||||
more_stuff:
|
||||
this:
|
||||
is: a properties file
|
||||
is: a properties file # great huh
|
||||
# things and stuff
|
||||
another: a properties file # another thing
|
||||
```
|
||||
|
||||
## Merge from properties
|
||||
@@ -173,8 +175,10 @@ yq '. *= load_props("../../examples/small.properties")' sample.yml
|
||||
will output
|
||||
```yaml
|
||||
this:
|
||||
is: a properties file
|
||||
is: a properties file # great huh
|
||||
# things and stuff
|
||||
cool: ay
|
||||
another: a properties file # another thing
|
||||
```
|
||||
|
||||
## Load from base64 encoded file
|
||||
|
||||
Reference in New Issue
Block a user