Mike Farah
24dcb56466
Inc version - fix help text
2020-01-11 09:13:42 +11:00
Mike Farah
728cbe991a
Print path is more accurate than keys (i think)
2020-01-11 09:07:39 +11:00
Mike Farah
854f5f0fc9
wip json encoding
2020-01-10 22:01:59 +11:00
Mike Farah
0621307391
Fixed linting errors
2020-01-09 21:27:52 +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
38d35185bc
Can overwrite and append with merge
2020-01-06 16:27:00 +13:00
Mike Farah
d8c29b26c1
Merge can allow empty merges!
2020-01-06 16:22:24 +13:00
Mike Farah
1f7f1b0def
Merge arrays!
2020-01-05 17:28:24 +13:00
Mike Farah
1aa5ec1d40
Merge! wip
2020-01-05 17:14:14 +13:00
Mike Farah
8a6af1720d
Fixed modify array issue!
2019-12-30 11:21:21 +13:00
Mike Farah
0652f67a91
Refactored!
2019-12-28 20:19:37 +13:00
Mike Farah
ff5b23251b
Refactor wip
2019-12-25 12:11:04 +11:00
Mike Farah
1e541cd65f
wip handle aliases when printing keys
2019-12-23 09:25:44 +11:00
Mike Farah
5204a13685
Show paths
2019-12-23 09:08:00 +11:00
Mike Farah
3d3eaf3034
Return path, smart print
2019-12-22 17:16:03 +11:00
Mike Farah
4fb44dbc47
Return path, smart print
2019-12-22 17:13:11 +11:00
Mike Farah
19fe718cfb
Aliases!
2019-12-16 21:09:23 +11:00
Mike Farah
d7392f7b58
Refactoring
2019-12-16 16:46:20 +11:00
Mike Farah
a3cebec2fd
Added prefix command
2019-12-16 16:17:01 +11:00
Mike Farah
b81fd638d7
wip - new node
2019-12-15 19:34:05 +11:00
Mike Farah
5988d0cffa
Simplified
2019-12-15 18:24:23 +11:00
Mike Farah
d061b2f9f9
Can delete arrays
2019-12-12 20:47:22 +11:00
Mike Farah
9771e7001c
splatting
2019-12-09 13:44:53 +11:00
Mike Farah
dad61ec615
remove json conversion for now
2019-12-06 16:52:00 +11:00
Mike Farah
676fc63219
remove json conversion for now
2019-12-06 16:41:21 +11:00
Mike Farah
972e2b9575
wip
2019-12-06 16:36:42 +11:00
Mike Farah
aad15ccc6e
better v3
2019-12-06 15:57:46 +11:00
Conor Nosal
5fc13bdccd
update imports for v2 module path
2019-12-06 13:58:56 +11:00
Conor Nosal
95fec2984e
Move parseValue to yqlib/value_parser.go
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
Mike Farah
97d1aa2b26
Added formatter, fixed docker build
2019-10-31 08:21:19 +11:00
Elliot
d1cec1ad18
fix to make it work with modules
2019-10-31 08:21:19 +11:00
Mike Farah
fe5842e5f9
Fix: Only remove original file if copying was successful
2019-08-27 09:21:39 +10:00
Aleksandr Sergin
e0d8cd6bf6
yq small fix
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
8f5ffe47ff
return to old behavior, small fix.
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
5acc1e661e
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
a9c0ef571c
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
7a28531f2f
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
5de2bea1b4
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
7320b8d3c9
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
2f70e6f27a
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
a9e871ee00
add Move func to avoid 'invalid cross-device link'
2019-08-27 09:18:38 +10:00
Georgi Knox
6e35356a84
add help description
2019-05-16 09:35:16 +10:00
Mike Farah
b2fe3e6738
fixing delete splat
2019-05-14 11:20:41 +10:00
Mike Farah
f8c1c3c1b4
Updated instructions w.r.t keys and values starting with dashes
2019-04-29 16:14:33 +10:00
Renzo Crisóstomo
75c7d40c44
Add --allow-empty flag to merge command
2019-03-22 09:13:39 +11:00
Mike Farah
77c8f22a79
Bump golang version to 1.11
2019-01-21 09:37:22 +11:00