Skip to content

feat: heuristic-based syntax detection #34

@pasteley

Description

@pasteley

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions