justin-f-perez
1a964c5055
update cli help ( #1146 )
...
- remove duplicate comment
- add common use case (json -> idiomatic yml)
2022-03-20 10:54:24 +11:00
Mike Farah
3924ed8a35
Bumping version
2022-03-10 13:50:53 +11:00
Mike Farah
33a29817d7
Can load expressions from file #1120
2022-03-01 11:50:09 +11:00
Mike Farah
f0b37ea06d
Bumping version
2022-02-27 12:03:10 +11:00
Mike Farah
558a18029a
Bumping version
2022-02-20 14:34:55 +11:00
Mike Farah
304fc462a4
No longer auto-read from STDIN if there are files given ( #1115 )
2022-02-20 13:15:21 +11:00
Mike Farah
6374098cdc
Bumping version
2022-02-15 13:40:47 +11:00
Mike Farah
a9c3617b4f
Decoder Properties ( #1099 )
...
* Decoder Properties
* Added properties round trip test
* Fixed property decode for github actions
* Refactored XML test to use common functions
* Switched formatScenario parameter order for more readablity
2022-02-10 12:02:53 +11:00
Mike Farah
26356ff4be
Added github action fix for parsing xml, updated linter
2022-02-07 11:55:55 +11:00
Mike Farah
2891c6948d
Added expression argument to forcibly set expression if required
2022-02-07 09:27:52 +11:00
Mike Farah
703418d0c4
Automatically add "-" when piping and its missing
2022-02-07 09:09:11 +11:00
Mike Farah
75960c6484
Allow multiple files with no expression
2022-02-07 08:23:53 +11:00
Mike Farah
5ac3c57510
Fixed bug - ignore path expressions that match a directory
2022-02-07 08:04:26 +11:00
Mike Farah
926a68181b
Bumping version
2022-02-06 14:39:56 +11:00
Mike Farah
535799462f
Added eval operator
2022-02-01 14:47:51 +11:00
Mike Farah
9b7c80a76b
Bumbing version
2022-01-28 10:06:25 +11:00
Mike Farah
a6fc7aa881
Updating docs
2022-01-28 10:06:25 +11:00
Mike Farah
dedd1ca892
Fixing github build
2022-01-27 15:54:26 +11:00
Mike Farah
3ba728d40c
Working around github strangeness
2022-01-27 13:54:29 +11:00
Mike Farah
8761920f58
Debug github build
2022-01-27 13:24:05 +11:00
Mike Farah
4ec533bc1b
No longer have to specify eval!
2022-01-27 12:07:41 +11:00
Mike Farah
fc276ff450
Smarter behaviour when piping data in with one argument
2022-01-27 10:18:46 +11:00
Mike Farah
71242b0c8e
Fix Seg Fault on bad split expression input #1086
2022-01-27 09:29:41 +11:00
Mike Farah
a0ba208669
Bumping release
2022-01-22 11:57:19 +11:00
Mike Farah
02252e8e69
Bumping version
2022-01-22 11:48:08 +11:00
Mike Farah
2526b03d67
Added JSON conversion tests and doc generation
2022-01-21 20:26:19 +11:00
Mike Farah
ec8ef312ef
Added XML encoding/decoding ( #1067 )
...
* Added XML encoding/decoding
* Minor fixes
* Improve yq doc
* Lint
2022-01-15 11:57:59 +11:00
Mike Farah
606ef91cc6
Better fix #1062 (return error instead of panic)
2022-01-14 15:40:24 +11:00
Mike Farah
c48b1612df
Updating cli docs
2021-12-21 17:07:32 +11:00
Mike Farah
6763ae6e7b
Added xml acceptance tests
2021-12-21 17:05:33 +11:00
Mike Farah
2ee9c65bc2
Added global xml prefs for simplicity
2021-12-21 16:52:54 +11:00
Mike Farah
df32baedf1
Added XML decoder ( #1044 )
2021-12-21 15:02:07 +11:00
Mike Farah
915e9de437
Bumping version
2021-12-21 09:41:46 +11:00
Mike Farah
d0fda699e4
Bumping version
2021-12-04 14:00:27 +11:00
Matthieu MOREL
15d7c9e118
enable misspell linter
2021-11-25 22:01:30 +11:00
Mike Farah
7f5bf4b326
Bumping version
2021-11-24 10:59:31 +11:00
Mike Farah
a17c97b515
Bumping version
2021-11-14 11:09:53 +11:00
Mike Farah
2ace48c70d
Bumping version
2021-10-30 14:08:13 +11:00
Mike Farah
2b3d0552a6
Refactored command logic
2021-10-30 13:04:05 +11:00
Mike Farah
0b2688c0f1
Split printer
2021-10-30 10:04:41 +11:00
Mike Farah
57f058555c
Bumping version
2021-10-21 20:08:32 +11:00
Mike Farah
67541a2fe9
Keep flag, it is needed in corner cases
2021-10-15 11:47:00 +11:00
Mike Farah
0064b68ed9
Revert "Removed leadingContentPreProcessing flag - header preprocessing is stable"
...
This reverts commit 4ce9433468
.
2021-10-15 11:47:00 +11:00
Mike Farah
4ce9433468
Removed leadingContentPreProcessing flag - header preprocessing is stable
2021-10-15 08:53:00 +11:00
Mike Farah
d363963f98
Bump version
2021-10-11 14:50:17 +11:00
Emmanuel Bourg
bec30e910f
Fix a typo in root.go
2021-10-07 13:43:57 +11:00
Mike Farah
b8aeb76f29
Bump version
2021-10-02 15:14:45 +10:00
Mike Farah
e052ff8025
New release with docker build fixes
2021-09-20 11:58:21 +10:00
Mike Farah
222bfd3d17
Bumping version
2021-09-20 10:40:27 +10:00
Mike Farah
4123669efe
Help text tweak
2021-09-20 09:57:41 +10:00
Mike Farah
3339562aa2
Bumping version
2021-09-15 15:19:19 +10:00
Mike Farah
6ba8dc75a6
Bumping version
2021-09-05 11:11:51 +10:00
Mike Farah
b72d225092
Bumping version
2021-08-27 09:33:57 +10:00
Mike Farah
fe12407c93
Bumping version
2021-08-20 16:03:59 +10:00
Mike Farah
d18aa3e9e0
Added shorthand output formats
2021-08-20 15:46:33 +10:00
Mike Farah
10d4eb3381
Updated to use -o for output format
2021-08-20 13:35:57 +10:00
Mike Farah
43f47c4ed9
wip - pretty print 1.1 compat mode
2021-08-20 12:23:35 +10:00
Mike Farah
8c1a96d121
Properties encoder wip
2021-07-25 18:08:33 +10:00
Mike Farah
f89a133558
Version bump
2021-07-24 15:08:30 +10:00
Mike Farah
66b248ac18
Version bump
2021-07-20 11:05:22 +10:00
Mike Farah
8508d3309b
More efficient front matter processor
2021-07-20 10:38:42 +10:00
Mike Farah
4e628327c4
Better way of processing leading content
2021-07-20 10:19:55 +10:00
Mike Farah
bbebebe30c
Fixed for most cases, except strip comments
2021-07-20 09:18:40 +10:00
Mike Farah
3a6f73e836
wip
2021-07-19 19:52:51 +10:00
Mike Farah
102e7e7ab0
Version bump
2021-07-18 13:45:21 +10:00
Mike Farah
9c8253b582
Front matter processor seems to be working!
2021-07-18 13:17:35 +10:00
Mike Farah
555ad0762c
Added front-matter handler
2021-07-18 12:28:46 +10:00
Mike Farah
2f0fe8aa13
Increment version
2021-07-16 10:09:12 +10:00
Mike Farah
cae3d95fdc
Clean up cli help doc, add github and doc links
2021-07-09 14:58:09 +10:00
Mike Farah
21e2fdaea2
Bump version
2021-07-08 10:27:57 +10:00
Mike Farah
aba950a751
Bump version
2021-07-07 20:01:41 +10:00
Mike Farah
4bb2d04d43
Increment version
2021-06-12 16:40:42 +10:00
Mike Farah
58c63ed121
Bumping version
2021-06-10 09:37:08 +10:00
Mike Farah
b6e2a96ead
Increment version
2021-06-09 08:59:27 +10:00
Mike Farah
38b9856f50
Increment version
2021-05-22 08:24:08 +10:00
Mike Farah
af283315f2
Increment version
2021-05-21 14:27:24 +10:00
Mike Farah
afebf0e621
Increment version
2021-05-16 12:43:26 +10:00
Mike Farah
7b52c5fe0e
Increment version
2021-05-14 15:04:56 +10:00
Mike Farah
6c3965dca3
Increment version
2021-05-10 09:39:59 +10:00
Mike Farah
8b327d0414
Increment version
2021-04-25 12:07:22 +10:00
Mike Farah
2483c38eeb
Added command help about using stdin
2021-04-19 10:27:01 +10:00
Mike Farah
6c26344449
Incrementing version
2021-04-15 16:22:24 +10:00
Mike Farah
095f921f62
4.6.3 release
2021-03-25 08:45:59 +11:00
Mike Farah
35c6d07248
Bump version
2021-03-19 12:59:00 +11:00
Mike Farah
5911ab2929
Bump version
2021-02-25 16:52:49 +11:00
Mike Farah
111c6e0be1
Increment version
2021-02-18 11:19:16 +11:00
Mike Farah
bd0818c481
Fixed write-inplace with no expression
2021-02-11 10:58:40 +11:00
Ben Moss
26742b2597
Fix pretty-printing
...
Fixes #716 #715
2021-02-11 10:58:40 +11:00
Mike Farah
64c618c041
Version increment
2021-02-11 10:58:40 +11:00
Mike Farah
802d54e14e
v4.5.0
2021-02-11 10:58:40 +11:00
Mike Farah
83139e21d9
Bump version
2021-02-11 10:58:40 +11:00
Mike Farah
fe33e7fcfe
Incrementing version
2021-02-11 10:58:40 +11:00
Mike Farah
532dbd81a5
Incrementing version
2021-02-11 10:58:40 +11:00
Mike Farah
b505240d09
Merged env commands in :eye-roll:
2021-02-11 10:58:40 +11:00
Mike Farah
018a6e616d
Bump version
2021-02-11 10:58:40 +11:00
Mike Farah
7fa2b20b48
Error when passing files and using null-input flag
2021-02-11 10:58:40 +11:00
Mike Farah
5aff50a345
Fixed updating yaml from other files
2021-02-11 10:58:40 +11:00
Mike Farah
0328cfd619
Added prettyPrint flag
2020-12-28 11:40:41 +11:00
Mike Farah
7f5c380d16
v4.1.0
2020-12-23 10:23:54 +11:00
Mike Farah
d2d0c2c111
Added missing flag
2020-12-22 10:40:20 +11:00
Mike Farah
2577fe5425
Increment version
2020-12-20 13:29:12 +11:00
Mike Farah
da027f69d7
updated cobra package
2020-12-01 16:16:20 +11:00
Mike Farah
8cd290c00b
incrementing version
2020-12-01 15:15:12 +11:00
Mike Farah
773b1a3517
fixed create doc for eval-all
2020-12-01 14:23:27 +11:00
Mike Farah
08f579f4e3
Fixed create yaml
2020-12-01 14:06:49 +11:00
Mike Farah
c9229439f7
added exit status
2020-11-30 16:35:21 +11:00
Mike Farah
9bc66c80b6
Added write-inlplace flag
2020-11-30 16:05:07 +11:00
Mike Farah
8de10e550d
wip - write in place
2020-11-29 20:25:47 +11:00
Mike Farah
0a66bb797d
4 alpha2
2020-11-25 13:32:32 +11:00
Mike Farah
fc3af441e5
Extracted out evaluators
2020-11-22 11:56:28 +11:00
Mike Farah
a57944d123
Fixed printer
2020-11-16 12:09:57 +11:00
Mike Farah
af39fc737d
Fixed linting
2020-11-13 14:07:11 +11:00
Mike Farah
f8a700e400
Alpha1 of v4!
2020-11-13 13:35:59 +11:00
Mike Farah
708ff02e8d
Fixed collect object for multi doc
2020-11-13 13:19:54 +11:00
Mike Farah
2edf64182b
refining
2020-11-06 14:37:01 +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
829ca3b424
read tests
2020-10-13 13:17:18 +11:00
Mike Farah
d19e9f6917
read command
2020-10-13 12:51:37 +11:00
Mike Farah
c791e5c663
equal!
2020-10-09 15:06:01 +11:00
Morgan Bazalgette
996ee0b433
add test for key order
2020-10-09 08:38:42 +11:00
Morgan Bazalgette
bb9cb0c60e
fix tests
2020-10-09 08:38:42 +11:00
Mike Farah
87550b7fe5
Show errors on validate
2020-09-21 20:34:29 +10:00
Mike Farah
e5948c4f16
Fixed potential npe
2020-09-13 12:14:20 +10:00
Mike Farah
4eaadf98d0
Set STDOUT to default out when printing via cobra
2020-09-13 11:49:55 +10:00
Mike Farah
eedbb0a99f
Explode anchors now applies to map keys too
2020-09-13 11:26:07 +10:00
Mike Farah
7dabc57b65
Added array update merge example
2020-09-13 11:12:52 +10:00
Mike Farah
fcd3a90f67
Bumping minor version to indicate new merge features and slight backwards incompatibility
2020-09-13 11:06:56 +10:00
Mike Farah
88e99e5336
New line in docs for better readability
2020-09-13 11:04:48 +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
f528b28938
Convert to JSON now handles non string keys
2020-09-13 10:44:22 +10:00
Mike Farah
1507f929a2
Fixing version stuffup - now 3.3.4
2020-09-11 11:11:49 +10:00
Mike Farah
c11c3df84f
Version 3.2.3
2020-09-09 12:02:30 +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
fea8510061
Added comments merge strategy
2020-07-17 15:51:03 +10:00
Mike Farah
b380ea2892
better array merge strategy name
2020-07-17 13:27:27 +10:00
Mike Farah
d66a709213
refactored array merge flags into a strategy
2020-07-17 13:26:20 +10:00
Mike Farah
2fc39b3865
Can overwrite arrays when merging
2020-07-17 13:07:32 +10:00
Mike Farah
ee07edbd88
Added merge alias test
2020-06-18 09:56:36 +10:00
Mike Farah
b11661a1be
Refactored merge - will allow more sophisticated mergin
2020-06-18 09:44:36 +10:00
Mike Farah
89cbe63343
Fixed deep read at root level
2020-06-15 12:31:13 +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
9de2039c31
Version bump
2020-06-12 12:23:18 +10:00
Mike Farah
767709fef5
Fixed error flag
2020-06-12 12:21:46 +10:00
Mike Farah
d9ae8e1e5a
Updated readme
2020-06-12 09:30:05 +10:00