Commit Graph

71 Commits

Author SHA1 Message Date
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
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