hurl icon indicating copy to clipboard operation
hurl copied to clipboard

prompt for user's input in case of undefined variables

Open sify21 opened this issue 7 months ago • 2 comments

Problem to solve

Currently an error is shown when undefined variable is met.

Proposal

Prompt the user for input of undefined variables. I believe this will provide a better user-experience, because they don't have to define those variables somewhere beforehand and run the command again.

Optionally, this behavior can be activated by a command-line switch like --interactive

Additional context and resources

Tasks to complete

  • [ ] ...

sify21 avatar Jun 02 '25 15:06 sify21

Hi @sify21 This could be indeed useful but, as the same time, we're planning to remove --interactive as we're not testing it / using it and it bring some complexity to the implementation see #3763

jcamiel avatar Jun 02 '25 16:06 jcamiel

Then maybe add a new switch, for example --ask-variable, to avoid breaking others' existing workflows.

sify21 avatar Jun 04 '25 04:06 sify21