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
Kyle Titus
478208b7c4
Added Windows support for the "--inplace" command flag
2019-01-07 10:07:08 +11:00
Mike Farah
16bde80334
Prefix now supports arrays
2018-11-20 09:47:17 +11:00
matfax
48dcc15281
feat: add prefix command
2018-11-20 08:53:25 +11:00
Thad Craft
8d6e3a6a75
copying file permissions from original file when inline merging - Closes #180
2018-10-25 15:46:57 +11:00
Mike Farah
7a6689eb40
Fixed latest linting issues
2018-08-06 16:24:06 +10:00
Mike Farah
18bb4eee96
moar tests
2018-07-08 21:57:56 +10:00
Mike Farah
86b9fe3ef9
Can read from all documents
2018-07-08 21:47:01 +10:00
Mike Farah
2c15048ddb
Added merge with append
2018-07-07 15:26:56 +10:00
Mike Farah
c2c49dcb17
Fixed help length to prevent horizontal scroll in README
2018-06-27 19:37:18 +10:00
Mike Farah
c86f8b426b
Fixed writing inplace from docker
2018-06-27 12:06:31 +10:00
Mike Farah
b3b60665e4
Fixed toJson command line option, should only apply to read command
2018-06-26 14:09:56 +10:00
Mike Farah
fb87f638f2
Multi doc supports updating all docs
2018-06-20 11:45:51 +10:00
Mike Farah
6d6e476ac8
Use gopkg managed versions of dependencies, for better go get support
2018-06-18 11:37:42 +10:00
Mike Farah
ae0c042ae6
Use gopkg managed version of yaml to properly support go get
2018-06-18 11:12:52 +10:00
Mike Farah
113586b5e0
Updating help for multi doc
2018-06-15 20:31:29 +10:00
Mike Farah
c38f19e0a9
Enabled multi document support for merge (first document only)
2018-06-15 16:48:36 +10:00
Mike Farah
8ca85b1c64
Simplified merge command
2018-06-15 16:40:52 +10:00