hurl icon indicating copy to clipboard operation
hurl copied to clipboard

Group frequently used small tasks in a hurl file and include it in many other hurl files

Open iredmail opened this issue 1 year ago • 2 comments

Problem to solve

We need to delete and re-create some SQL records frequently to make sure data clean, so we want to write deleting in a small .hurl file, write re-creating in another .hurl file, then include them in other hurl files.

Proposal

Add directive to support including hurl files.

Additional context and resources

Like Nginx, we can include config snippet with the include directive, for example:

http {
    include /etc/nginx/conf-enabled/*.conf;
    include /etc/nginx/sites-enabled/*.conf;
}

iredmail avatar Jul 05 '23 09:07 iredmail