Skip to content

Add support for custom data exports directory prefix #926

@JoeyMckenzie

Description

@JoeyMckenzie

First, I love this project. It's my daily driver SQL TUI and saved me money on subscriptions and I'm recommending it to anyone and everyone.

Had a question, as I couldn't find it in the docs. Is there a way set a custom output directory prefix via configuration when running result exports? I'm using this a lot, and typically I just want to run queries and dump the data to share with other devs. It would be great if we could specify where these exports go by default, like a subdirectory in the current parent directory, that would default all export files to, rather than directly in the parent folder.

For example, I dump all my exports in a .harlequin/ folder in my projects and include .harlequin/ in my .gitignore. Though, when running an export on data, I have to manually type out .harlequin/{{name of dump file}} every time. So really, just more of a nice-to-have for scenarios like this.

Is this currently possible to to?

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