Mike Farah
9b299649f7
Refactored initCommand
2025-07-11 10:17:21 +10:00
Mike Farah
369fe56e2d
Adding test file (CursorAI)
2025-07-11 09:59:59 +10:00
Mike Farah
1187c954ec
Bumping version
2025-07-10 13:09:34 +10:00
Mike Farah
b534aa9ee5
Bumping version
2025-05-11 21:31:47 +10:00
Mike Farah
734e2cd254
Bumping version
2025-05-09 15:48:44 +10:00
Mike Farah
c59fa8de59
Bumping version
2025-05-03 16:40:24 +10:00
Mike Farah
20b5129120
Updating golanglint
2025-05-03 16:34:21 +10:00
Mike Farah
8bf425b4d1
Bumping version
2025-01-12 14:17:39 +11:00
Rudolf Thomas
f73c862cc5
feat: Create parent directories if --split-exp is used.
...
Problem: When --split-exp is used and produces filenames with slashes in
them, the target directories must already exist otherwise yq fails.
Fix/feature: Create the necessary directories with os.MkdirAll().
The permissions 0750 were chosen to satisfy the vulnerability checker.
2024-12-14 19:52:09 +11:00
Mike Farah
294a1709ad
Bumping version
2024-12-07 17:33:47 +11:00
Mike Farah
e204677ff8
Fixed no-colors regression #2218
2024-12-07 16:05:58 +11:00
Mike Farah
bc5b54cb1d
Bumping version
2024-11-16 15:45:01 +11:00
Mike Farah
42db154e2e
Bumping version
2024-11-16 15:25:31 +11:00
Mike Farah
887b4a560f
Fixed linting
2024-11-16 12:04:43 +11:00
Mike Farah
95e7b35f74
Fixed spelling of coloured
2024-11-16 11:54:58 +11:00
Vladimir Varankin
f071a25fa9
cmd: force no color output when NO_COLOR env presents
2024-11-16 11:54:19 +11:00
Mike Farah
b8607bacb9
Prefer not having nolint
2024-11-16 11:52:42 +11:00
Marco Vito Moscaritolo
7eef1a454e
exclude lint errors to keep cobra params unchanged
2024-11-16 11:48:53 +11:00
Mike Farah
bbdd97482f
Bumping version
2024-08-05 15:38:57 +10:00
Mike Farah
ef6fb92e7f
Log printing follow no-colors flag #2082
2024-06-29 15:26:10 +10:00
Mike Farah
f15500b20a
Bumping version
2024-06-16 11:13:40 +10:00
Mike Farah
557dcb87b8
Bumping version
2024-05-12 12:27:39 +10:00
Cory Latschkowski
21ba506edb
Fix: shell-completion ( #2006 )
...
* fix: shell-completion
* update: description
2024-04-22 14:15:36 +10:00
Mike Farah
19a0e6dd8b
Bumping version
2024-03-24 10:54:35 +11:00
Mike Farah
fbd4c8428a
Remove old JSON warning
2024-03-23 17:17:23 +11:00
Mike Farah
e092329bf3
String interpolation! #1149
2024-03-05 14:10:12 +11:00
Mike Farah
9adde1ac14
Bumping version
2024-02-26 08:33:29 +11:00
Mike Farah
447bf28cd8
Introduced 'format' to encapsulate encoding and decoding formats together
2024-02-24 16:37:13 +11:00
Mike Farah
1d371b712f
Refactoring encoding configuration
2024-02-24 15:59:12 +11:00
Mike Farah
55f6a3a49d
Refactoring JSON encoder prefs
2024-02-24 15:48:59 +11:00
Mike Farah
7a01e216c4
Refactoring Yaml encoder prefs
2024-02-24 15:36:16 +11:00
Mike Farah
f44d47a204
Refactoring Props encoder prefs
2024-02-24 15:14:21 +11:00
Mike Farah
2866e90c49
Refactoring XML encoder prefs
2024-02-24 15:03:30 +11:00
Mike Farah
571caa696a
Refactoring Output types
2024-02-24 14:58:11 +11:00
Mike Farah
359c4a11b2
Merge branch 'feat/completions' of github.com:scop/yq into scop-feat/completions
2024-02-24 13:48:42 +11:00
Mike Farah
b24b484efc
Added --properties-array-brackets flag for properties encoder #1933
2024-02-20 11:39:56 +11:00
Ryan Drew
2865022cf8
Add --properties-separator option ( #1951 )
...
This commit adds the --properties-separator option, which lets users
specify the separator used between keys and values in the properties
output format. This is done by adjusting the value of
github.com/magiconair/properties#Properties.WriteSeparator at encode
time.
Some refactoring of the properties encoder unit tests was done to make
it easier to write unit tests that include different separator values.
Fixes : #1864
Signed-off-by: Ryan Drew <ryan.drew@isovalent.com>
2024-02-20 10:57:44 +11:00
Mike Farah
9a8151d316
Added csv separator flag #1950
2024-02-17 19:11:41 +11:00
Mike Farah
86bb90f989
Can shebang yq scripts! #1851
2024-02-16 10:48:07 +11:00
Mike Farah
047694546c
Bumping version
2024-02-16 09:48:51 +11:00
Mike Farah
3c3f1180d9
Cleaning up log message formats
2024-02-16 09:44:22 +11:00
Mike Farah
9142c93d1b
Improved log format
2024-02-16 09:26:31 +11:00
Mike Farah
c32a9ceab8
Added new CSV option to turn off auto-parsing #1947
2024-02-15 13:11:53 +11:00
Mike Farah
bb66c9c872
Bumping version
2024-02-09 10:21:09 +11:00
Mike Farah
e19046273e
Bumping version
2024-02-08 13:34:41 +11:00
Ville Skyttä
84890ae34d
Add arg and flag completions
2023-12-20 09:36:57 +02:00
Ville Skyttä
a69c1b5230
Generate v2 bash completions
...
https://github.com/spf13/cobra/blob/main/site/content/completions/_index.md#bash-completion-v2
2023-12-20 09:33:51 +02:00
Mike Farah
dd64899434
Bumping version
2023-12-12 11:35:15 +11:00
Mike Farah
1c3d551060
Bumping version
2023-12-04 11:17:53 +11:00
Mike Farah
779b26310e
Updating references to yq being a YAML processor
2023-11-30 15:32:21 +11:00