-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--yaml-output breaks yaml file format #93
Comments
You are looking to preserve explicit start and explicit end YAML document markers. This is not yet supported by yq. I will add this as an option. |
Hello. I digged in code to found it is possible to add argument |
If the feature is available, I am so quite curious why it is hidden. |
The new options are |
OK, I documented the new options in the readme and online help. |
Thanks, but why do you supress it in the --help? Line 102 in 5d0be22
|
It's suppressed by default because the help strings are used for 3 different utilities (yq, xq and tomlq) and un-suppressed for yq. |
yq: 2.10.0
With the following input yaml file
yaml_list_dict.yml
:The following command breaks the original format:
The original
---`` and
...``` have been removed.Am I missing something?
The text was updated successfully, but these errors were encountered: