1
0
mirror of https://github.com/mikefarah/yq.git synced 2025-03-21 20:55:35 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Mike Farah
7103b78d38
Draft: Toml ()
* toml wip

* wip

* Fixed auto parsing toml

* Added build flag not to include toml

* Parse toml docs and tests

* minor updates
2023-03-26 10:59:15 +11:00
Mike Farah
48b481b68d Unknown file type should default to yaml, Fixes 2023-03-20 09:16:20 +11:00
Mike Farah
08a6cb65fe
Auto output format ()
* Use file extension to auto detect output format!

* Use file extension to auto detect output format!

* formatting
2023-03-15 13:22:58 +11:00
ryenus
d30941b575
Detect input format based on file name extension ()
* detect inputFormat from filename

* refactor and extract func InputFormatFromFilename

* detect inputFormat only when file is provided

* add test for automatic input format detection
2023-03-09 10:17:19 +11:00