Mike Farah
0b7d4b799c
Fixed CSV content starting with # issue #2076
2024-06-29 15:04:07 +10:00
Mike Farah
68aafb6a53
Handle numbers with underscores #2039
2024-06-16 11:09:52 +10: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
cb609a1886
Fixed bad line entry for #1422
2022-11-15 11:35:31 +11:00
Mike Farah
688fe55bb9
Added test for err fix
2022-11-09 21:46:00 +11:00
Mike Farah
ed551bf339
Added extra parseSnippet test
2022-11-01 09:15:59 +11:00
Mike Farah
c887042a1b
Fixing null csv bug #1404
2022-10-30 22:02:08 +11:00
Rob Ferguson
d41b44dc42
Add accessor for the yq logger instance ( #1013 )
...
Allow consumers of yqlib to customize the logger instance.
Closes #432
Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
Co-authored-by: Carolyn Van Slyck <me@carolynvanslyck.com>
Co-authored-by: Rob Ferguson <robert.j.ferguson@nasa.gov>
2021-11-30 10:51:49 +11:00
Mike Farah
ba223df4ac
Moved eval function to eval interface
2021-02-11 10:58:40 +11:00
Mikhail Katychev
e6336bcb85
added lib_test.go
2021-02-11 10:58:40 +11:00
Mike Farah
d19e9f6917
read command
2020-10-13 12:51:37 +11:00
Mike Farah
d66a709213
refactored array merge flags into a strategy
2020-07-17 13:26:20 +10:00
Mike Farah
feba7b04fa
Added path stack to string test
2020-01-09 21:36:05 +11:00
Mike Farah
924eb6c462
Added missing functions to interface
2020-01-09 21:18:24 +11:00
Mike Farah
52eef67e37
more tests, some refactoring
2020-01-09 08:17:56 +11:00
Mike Farah
9771e7001c
splatting
2019-12-09 13:44:53 +11:00
Conor Nosal
5fc13bdccd
update imports for v2 module path
2019-12-06 13:58:56 +11:00
Conor Nosal
64d1e58f97
test coverage and linting
2019-12-06 13:58:56 +11:00
Conor Nosal
4b3fbb878f
Split marshal package from yqlib, implement interfaces
2019-12-06 13:58:56 +11:00
Conor Nosal
26a09e6ec0
Move implementation files to yqlib and test packages to allow for imports:
...
- Move data_navigator, json_converter, merge, and path_parser to pkg/yqlib
- Extract yamlToString from yq to pkg/yqlib/yaml_converter
- Move utils_test to test/utils
2019-12-06 13:58:56 +11:00