Skip to content

Feature request: Include custom functions #151

@j-szulc

Description

@j-szulc

I love the idea but what would make it more usable in my opinion is the ability to "preload" custom function definitions. So that for example it would be possible to:

jqp --include myfunctions.jq --file data.json
(later inside TUI:)
jq> . | myfunction

where the contents of myfunctions.jq is:

def myfunction: ....

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions