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

Different UX modes for WinGet #2972

Open
denelon opened this issue Feb 15, 2023 · 3 comments
Open

Different UX modes for WinGet #2972

denelon opened this issue Feb 15, 2023 · 3 comments
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@denelon
Copy link
Contributor

denelon commented Feb 15, 2023

Description of the new feature / enhancement

Sometimes I want winget to behave as simply an "engine" for managing packages. In that case, I want commands to either succeed or fail with meaningful output because no user is at the keyboard to respond to prompts for input.

Other times, I want winget to behave more interactively, so I can have a better UX. For example, when there are multiple packages found matching a command, I don't want to have to type the entire command again, I just want an interactive prompt to save the keyboard strokes.

Related to:

Proposed technical implementation details

I want a setting to define the default behavior.

I want a set of arguments to override the default behavior.

Note, if this is implemented in a 1.x version of WinGet, the default behavior would be in the "engine" mode above to not break existing automation.

Otherwise, this would be considered a breaking change in behavior and would be part of:

@denelon denelon added the Issue-Feature This is a feature request for the Windows Package Manager client. label Feb 15, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Feb 15, 2023
@denelon denelon removed the Needs-Triage Issue need to be triaged label Feb 15, 2023
@denelon denelon added this to the v2.0-Client milestone Feb 15, 2023
@denelon
Copy link
Contributor Author

denelon commented Feb 15, 2023

@denelon
Copy link
Contributor Author

denelon commented Feb 15, 2023

We also have an argument to "--disable-interactivity" if the setting is configured to be interactive.

@denelon
Copy link
Contributor Author

denelon commented Feb 15, 2023

The remaining work would be:

  • Add an argument for "--enable-interactivity" in the event the setting is defaulted to disabled.
  • Change the default behavior in a future 2.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

1 participant