Commit Graph
100 Commits
Author SHA1 Message Date
Mike Farah 720cc8f798 Update cli docs 2020-01-30 09:58:21 +11:00
Mike Farah abda0e38af Removed unused dep 2020-01-22 16:39:41 +11:00
Mike Farah 1a4d8158ba Removed custom value parsing logic 2020-01-20 08:42:08 +11:00
Mike Farah 8a65822b0b Updated docs to include value parsing 2020-01-20 08:35:03 +11:00
Mike Farah 56ba7c9a43 Updated travis ci build 2020-01-15 09:01:08 +11:00
Mike Farah d203ec7b56 Accidently changed sample.yaml 2020-01-15 08:55:01 +11:00
Mike Farah 2d7be26ad5 wip update docs 2020-01-13 16:58:11 +11:00
Mike Farah 350a8343e9 adv search with prefix! 2020-01-11 19:52:33 +11:00
Mike Farah a3f8f9df10 more bits 2020-01-11 19:38:16 +11:00
Mike Farah 35fd5b7ae4 Extracted out is path expression checking logic 2020-01-11 19:30:27 +11:00
Mike Farah 2d237e7e8e it works! wip 2020-01-11 19:13:52 +11:00
Mike Farah 74c7a4e027 it works! wip 2020-01-11 18:52:15 +11:00
Mike Farah 96955ffa9c release notes 2020-01-11 09:55:24 +11:00
Mike Farah 9361b8b3e9 Beta 2020-01-11 09:14:32 +11:00
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 feba7b04fa Added path stack to string test 2020-01-09 21:36:05 +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 e3f4eedd51 Fixed merge new array 2020-01-06 10:12:38 +13:00
Mike Farah 690da9ee74 Fixed merge new array 2020-01-06 10:12:30 +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 a065a47b37 Fixed tests 2020-01-05 16:22:18 +13:00
Mike Farah 625cfdac75 wip; 2019-12-31 15:21:39 +13:00
Mike Farah 4dbdd4a805 Deep splat! 2019-12-30 16:51:07 +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 df52383ffb Delete works! needs refactor 2019-12-28 10:51:54 +13:00
Mike Farah 707ad09ba5 Refactor wip 2019-12-27 19:06:58 +11:00
Mike Farah cf389bed4a Refactor wip 2019-12-27 19:06:08 +11:00
Mike Farah ff5b23251b Refactor wip 2019-12-25 12:11:04 +11:00
Mike Farah 9925b26b9d Added Key and Value printing tests 2019-12-24 10:46:21 +11:00
Mike Farah 93dbe80a77 wip 2019-12-24 10:35:57 +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 784513dd18 Merge anchors - refactored 2019-12-22 15:35:16 +11:00
Mike Farah 865a55645c Merge anchors - refactored 2019-12-22 15:33:54 +11:00
Mike Farah 949bf1c1d7 Merge anchors - wip 2019-12-22 15:15:15 +11:00
Mike Farah 19fe718cfb Aliases! 2019-12-16 21:09:23 +11:00
Mike Farah 290579ac7f Handle simple aliases 2019-12-16 20:38:55 +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 2344638da4 Fixed delete splat 2019-12-15 18:53:49 +11:00
Mike Farah 8be006fba4 Fixed delete splat 2019-12-15 18:52:37 +11:00
Mike Farah 53a4a47ce3 wip - prefix splat 2019-12-15 18:38:40 +11:00
Mike Farah 5988d0cffa Simplified 2019-12-15 18:24:23 +11:00
Mike Farah b7640946ac Delete! 2019-12-15 17:31:26 +11:00
Mike Farah d061b2f9f9 Can delete arrays 2019-12-12 20:47:22 +11:00
Mike Farah 8c0046a622 Refactoring 2019-12-09 13:57:38 +11:00
Mike Farah 586ffb833b Refactoring 2019-12-09 13:57:10 +11:00
Mike Farah 9771e7001c splatting 2019-12-09 13:44:53 +11:00
Mike Farah 8da9a81702 visitor! 2019-12-08 15:59:24 +11:00
Mike Farah d97f1d8be2 recurse 2019-12-08 15:37:30 +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
Mike Farah ceafed30f9 attempt to fix go get 2019-12-02 10:38:44 +11:00
Mike Farah b8b2c9de61 attempt to fix go get 2019-12-02 10:37:06 +11:00
Mike Farah f5fdf98c38 Updating release instructions 2019-11-13 12:26:33 +11:00
Mike Farah 29986db8f8 Update doc for go get 2019-11-13 12:25:24 +11:00
Mike Farah 1f4e3a9cde Ignore vendor folder 2019-11-06 11:45:31 +11:00
Mike Farah b6da773dde Bumbed snapcraft version 2019-11-01 12:40:35 +11:00
Mike Farah 8020d4253b Updated README 2019-11-01 12:40:21 +11:00
Mike Farah 3c701fe98e Incremented version 2019-11-01 10:47:38 +11:00
Mike Farah 97d1aa2b26 Added formatter, fixed docker build 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
Mike Farah 665d9079fa Added goreport to readme 2019-07-23 10:07:59 +10:00
Mike Farah 7b54a44fcf Fixed readme for bash docker alias to bash function, thanks @dead10ck 2019-07-23 09:57:58 +10:00
Mike Farah e9b8265ca3 Updated docs re creating a new array 2019-05-16 14:57:34 +10:00
Mike Farah 0f8b864321 Updated instructions 2019-05-16 14:56:00 +10:00
Mike Farah e5bcfedbe9 updating docs 2019-05-16 14:55:32 +10:00
Mike Farah a5f5fb2562 Publish moves files after uploading for speedy retries 2019-05-16 14:54:58 +10:00
Mike Farah 84de9c078d Improved handling of numeric keys
When there is no match at a given path, numeric keys are assumed to be strings.
To create an array '+' must be used.

e.g: yq n thing[+].cat fred
will create an array under thing, whereas
yq n thing[0].cat fred
will create a map under thing, with a key '0'
2019-05-16 10:03:54 +10:00
Mike Farah c7f5261036 Bump version 2019-05-16 10:03:54 +10:00
Mike Farah b2fe3e6738 fixing delete splat 2019-05-14 11:20:41 +10:00
Mike Farah 774badfef4 Can delete splat!
Fixes https://github.com/mikefarah/yq/issues/175
2019-05-13 09:48:05 +10:00
Mike Farah c4e9516aa6 Prefix matching splat
Fixes https://github.com/mikefarah/yq/issues/218
2019-05-13 09:32:08 +10:00
Mike Farah 323089eb64 fixed tests for write array splat 2019-05-13 09:13:45 +10:00
Mike Farah 53289366a5 Write array splat 2019-05-01 08:55:44 +10:00
Mike Farah cda9a82906 Refactoring write command to allow splat 2019-05-01 08:40:35 +10:00
Mike Farah 2dbde6b9fb Can process numeric keys
Fixes: https://github.com/mikefarah/yq/issues/215
2019-04-30 09:43:09 +10:00
Mike Farah f8c1c3c1b4 Updated instructions w.r.t keys and values starting with dashes 2019-04-29 16:14:33 +10:00
Mike Farah 238a1241d2 Added snap specific notes
https://forum.snapcraft.io/t/requesting-classic-confinement-for-yq/10559
2019-03-27 09:27:07 +11:00
Mike Farah 8a61ef072a Revert "Snapcraft classic confinment to allow access to system resources"
Snap doesn't let me use classic

This reverts commit 4f178d2317.
2019-03-25 09:28:06 +11:00
Mike Farah 4f178d2317 Snapcraft classic confinment to allow access to system resources
https://docs.snapcraft.io/snap-confinement/6233
2019-03-25 09:19:29 +11:00
Mike Farah 133e55105c Bump snapcraft go version 2019-03-22 16:32:30 +11:00
Mike Farah 5e5468af3b Release instructions update 2019-03-22 16:03:11 +11:00
Mike Farah 9b4972e46e Increment version for new functionality 2019-03-22 09:15:26 +11:00
Mike Farah 77c8f22a79 Bump golang version to 1.11 2019-01-21 09:37:22 +11:00
Mike Farah 53a20d4421 Bumb version 2019-01-07 10:23:37 +11:00
Mike Farah 1159d0a212 Fixing snapcraft yml 2018-11-21 13:39:03 +11:00