Commit Graph

50 Commits

Author SHA1 Message Date
Matthieu MOREL 15d7c9e118 enable misspell linter 2021-11-25 22:01:30 +11:00
Mike Farah 2b3d0552a6 Refactored command logic 2021-10-30 13:04:05 +11:00
Mike Farah b1f139c965 refactored 2020-11-04 10:48:43 +11:00
Mike Farah 0cb2ff5b2e explode when outputting to json 2020-11-02 13:55:03 +11:00
Mike Farah e515b8c2db got style 2020-11-02 11:20:52 +11:00
Mike Farah 85d059340b first cli 2020-10-27 16:45:16 +11:00
Mike Farah d19e9f6917 read command 2020-10-13 12:51:37 +11:00
Mike Farah e5948c4f16 Fixed potential npe 2020-09-13 12:14:20 +10:00
Mike Farah eedbb0a99f Explode anchors now applies to map keys too 2020-09-13 11:26:07 +10:00
Mike Farah a8cfccd3af Merge master fix 2020-09-13 10:59:40 +10:00
Mike Farah 3355e80d85 Merge branch 'master' into new-merge2 2020-09-13 10:52:31 +10:00
Mike Farah 06bb3ac826 Can create new yaml files using scripts again 2020-09-09 11:02:00 +10:00
Mike Farah 9f43a4a265 Keep comments when using the write commandt o update values 2020-09-08 09:46:04 +10:00
Mike Farah b11661a1be Refactored merge - will allow more sophisticated mergin 2020-06-18 09:44:36 +10:00
RyderXia 07cd3d4b8b return error 2020-06-13 16:45:52 +10:00
RyderXia b7b6988e76 mk TempDir 2020-06-13 16:45:52 +10:00
Mike Farah 1405584892 New,Update now support anchors and aliases 2020-06-11 13:57:13 +10:00
Mike Farah 9624410add Significantly improved performance of exploding anchors (improves to json speed) 2020-06-10 16:36:33 +10:00
Mike Farah 23de61a8d7 Can now update tag/style of nodes without affecting the value 2020-04-17 17:09:33 +10:00
Mike Farah 06d8715cbe Added customStyle flag, split command tests 2020-04-17 11:03:43 +10:00
Mike Farah 6f0a329331 Fixed inplace errors clearing out original file 2020-04-15 11:48:42 +10:00
Mike Farah 2db69c91c9 Added strip comments functionality 2020-04-14 14:48:45 +10:00
Mike Farah 33e35d10dd Dont unwrap json output by default 2020-04-14 14:11:44 +10:00
Mike Farah dfdbbbb24a Added unwrap flag 2020-04-14 13:48:25 +10:00
Mike Farah 6b07143af7 Fixed printing of scalars 2020-03-01 17:13:00 +11:00
Mike Farah 8e6ceba2ac Array length and collect 2020-02-28 14:03:40 +11:00
Mike Farah 6ef04e1e77 wip 2020-02-28 14:03:40 +11:00
Mike Farah 10029420a5 wip 2020-02-28 14:03:40 +11:00
Mike Farah f91093d5fe Colors work for all commands 2020-02-28 10:42:19 +11:00
Mike Farah ceb76e5c17 Fixed trailing empty docs 2020-02-21 11:34:26 +11:00
Mike Farah 44322f0248 Fixed writing to null document 2020-02-21 11:02:10 +11:00
Mike Farah 0347516d82 Always print new line so wc works properly 2020-02-21 10:29:37 +11:00
Mike Farah 96a4161a92 Fixed explode anchors for array roots 2020-02-12 11:03:40 +11:00
Mike Farah 5cc01e43bc Can supply value for write from file 2020-02-08 14:04:54 +11:00
Mike Farah 9de2573009 Fixed merge append arrays 2020-02-07 16:32:39 +11:00
Mike Farah b7dd3e8e0a Added explode test 2020-02-05 15:08:13 +11:00
Mike Farah dc13fa99f7 wip: explode anchors 2020-02-05 14:10:59 +11:00
Mike Farah f1dbe13f21 Can write and merge into empty files :) 2020-02-04 14:21:54 +11:00
Mike Farah 6840ea8c78 can set indent levels 2020-02-03 16:56:01 +11:00
Mike Farah bfc1a621c4 Pretty print everything 2020-02-03 16:37:53 +11:00
Mike Farah 166f866f28 Pretty print json 2020-02-03 16:31:03 +11:00
Mike Farah 25293a6894 Check write errors 2020-02-03 14:28:38 +11:00
Mike Farah d828b214cc More powerful compare 2020-02-03 14:15:12 +11:00
Mike Farah 9e47685271 Compare first cut 2020-02-03 13:59:16 +11:00
Mike Farah 699fce9da4 Added default value flag - for printing out a value when reading and there are no matches 2020-02-03 10:13:48 +11:00
Mike Farah f52de57652 Don't fail when reading an empty file 2020-02-03 09:15:16 +11:00
Mike Farah ec25511f1b Pretty print 2020-01-31 16:35:01 +11:00
Mike Farah 6ec8386f9e Fixed bad yaml handling 2020-01-30 16:32:28 +11:00
Mike Farah 1a4d8158ba Removed custom value parsing logic 2020-01-20 08:42:08 +11:00
Ryan SIU 64d38e9f03 #323 Refactor the cobra command with standard structure 2020-01-15 14:02:48 +11:00