Rudolf Thomas
f73c862cc5
feat: Create parent directories if --split-exp is used.
...
Problem: When --split-exp is used and produces filenames with slashes in
them, the target directories must already exist otherwise yq fails.
Fix/feature: Create the necessary directories with os.MkdirAll().
The permissions 0750 were chosen to satisfy the vulnerability checker.
2024-12-14 19:52:09 +11:00
Mike Farah
447bf28cd8
Introduced 'format' to encapsulate encoding and decoding formats together
2024-02-24 16:37:13 +11:00
Mike Farah
571caa696a
Refactoring Output types
2024-02-24 14:58:11 +11:00
Mike Farah
010750daf6
Updated to latest golint
2024-01-11 13:17:34 +11:00
Mike Farah
13d1bbb45f
Generic ast ( #1829 )
...
Remove dependency on yaml.Node for internal AST representation. Yaml decoder is now just another decoder.
2023-10-18 12:11:53 +11:00
Mike Farah
dfd396b480
When split expression includes an extension, dont add .yml automatically
2022-06-23 14:31:09 +10:00
Mike Farah
26356ff4be
Added github action fix for parsing xml, updated linter
2022-02-07 11:55:55 +11:00
Mike Farah
0b2688c0f1
Split printer
2021-10-30 10:04:41 +11:00