mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-12 13:48:06 +00:00
Improved load doc
This commit is contained in:
parent
a804e7370f
commit
3d620100f8
@ -4,6 +4,7 @@ The `load`/`strload` operator allows you to load in content from another file re
|
|||||||
|
|
||||||
Note that you can use string operators like `+` and `sub` to modify the value in the yaml file to a path that exists in your system.
|
Note that you can use string operators like `+` and `sub` to modify the value in the yaml file to a path that exists in your system.
|
||||||
|
|
||||||
|
Use `strload` to load text based content as a string block, and `load` to interpret the file as yaml.
|
||||||
|
|
||||||
Lets say there is a file `../../examples/thing.yml`:
|
Lets say there is a file `../../examples/thing.yml`:
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ The `load`/`strload` operator allows you to load in content from another file re
|
|||||||
|
|
||||||
Note that you can use string operators like `+` and `sub` to modify the value in the yaml file to a path that exists in your system.
|
Note that you can use string operators like `+` and `sub` to modify the value in the yaml file to a path that exists in your system.
|
||||||
|
|
||||||
|
Use `strload` to load text based content as a string block, and `load` to interpret the file as yaml.
|
||||||
|
|
||||||
Lets say there is a file `../../examples/thing.yml`:
|
Lets say there is a file `../../examples/thing.yml`:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user