Mike Farah
e08b6803f5
Simplify json > yaml cli example
2022-03-20 10:58:37 +11:00
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
33a29817d7
Can load expressions from file #1120
2022-03-01 11:50:09 +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
535799462f
Added eval operator
2022-02-01 14:47:51 +11:00
Mike Farah
a6fc7aa881
Updating docs
2022-01-28 10:06:25 +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
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
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
0b2688c0f1
Split printer
2021-10-30 10:04:41 +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
Emmanuel Bourg
bec30e910f
Fix a typo in root.go
2021-10-07 13:43:57 +11: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
8c1a96d121
Properties encoder wip
2021-07-25 18:08:33 +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
102e7e7ab0
Version bump
2021-07-18 13:45:21 +10:00
Mike Farah
555ad0762c
Added front-matter handler
2021-07-18 12:28:46 +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
0328cfd619
Added prettyPrint flag
2020-12-28 11:40:41 +11:00
Mike Farah
d2d0c2c111
Added missing flag
2020-12-22 10:40:20 +11:00
Mike Farah
c9229439f7
added exit status
2020-11-30 16:35:21 +11:00
Mike Farah
8de10e550d
wip - write in place
2020-11-29 20:25:47 +11:00
Mike Farah
a57944d123
Fixed printer
2020-11-16 12:09:57 +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
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
4eaadf98d0
Set STDOUT to default out when printing via cobra
2020-09-13 11:49:55 +10:00
Mike Farah
de8dcff803
Added shell completions
2020-06-11 18:27:01 +10:00
Mike Farah
8c9c326342
Usage error messages now go to StdErr
2020-06-11 10:14:33 +10:00
Mike Farah
7eb01a81da
Shorter colors flag
2020-02-28 15:57:44 +11:00
Mike Farah
5c117204fa
Shorter colors flag
2020-02-28 15:57:05 +11:00
Mike Farah
f91093d5fe
Colors work for all commands
2020-02-28 10:42:19 +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
9e47685271
Compare first cut
2020-02-03 13:59:16 +11:00
Mike Farah
d1c1ab0a75
Added validate command
2020-01-30 16:34:43 +11:00