youtrack-cli icon indicating copy to clipboard operation
youtrack-cli copied to clipboard

Use provided parameters in interactive mode

Open idlira opened this issue 6 years ago • 1 comments

Example:

youtrack workitem create --issue MYISSUE --duration 30m
Issue ID: 

Since I did not provide the other required parameters, it enters in interactive mode, but could present my provided value as the default value where I could just hit Enter. In the example above, MYISSUE could be used for Issue ID automatically.

Thinking it further, it could provide an option to only ask for the non-provided parameters.

Cheers!

idlira avatar Feb 05 '20 12:02 idlira

Hi @idlira ! Thanks for reporting this, good suggestion, I did think about changing this already but didn't find the time yet. PR is welcome ofc :)

shanehofstetter avatar Feb 05 '20 12:02 shanehofstetter