Currently, the tool relies on file extensions to determine the input syntax. It would be beneficial to enhance the tool with heuristic-based syntax recognition, allowing it to infer the input type from the content itself.
Use Case:
For example, when running a command like:
kubectl get po -n kube-system my-pod -o yaml | qq
the output is YAML, but since no input time is provide, qq fails to recognize the format and returns the following error:
error parsing input: invalid character 'a' looking for beginning of value
null
Currently, the tool relies on file extensions to determine the input syntax. It would be beneficial to enhance the tool with heuristic-based syntax recognition, allowing it to infer the input type from the content itself.
Use Case:
For example, when running a command like:
the output is YAML, but since no input time is provide,
qqfails to recognize the format and returns the following error: