Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use provided parameters in interactive mode #13

Open
idlira opened this issue Feb 5, 2020 · 1 comment
Open

Use provided parameters in interactive mode #13

idlira opened this issue Feb 5, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@idlira
Copy link

idlira commented Feb 5, 2020

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!

@shanehofstetter
Copy link
Owner

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 shanehofstetter added enhancement New feature or request good first issue Good for newcomers labels Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants