microsoft / microsoft/winget-cli
Possibility to add interactive install to import command?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Would it be possible to add the -i/--interactive to the import command?
Would be useful if the user for some reason wishes to manually configure the imported packages, for example changing the location some programs install to instead of the default which may be on a smaller drive/partition, or for changing options specific to a certain program to be installed
Proposed technical implementation details (optional)
Perhaps add a warning or notice that silent install is disabled to the user when --interactive is used, and then still print the normal stuff to the console, possibly adding a notice after the package is launched that the user needs to finish the current install through the installer window before proceeding with the next package to import
User imports list of packages, specifying --interactive or whatever other flag is chosen to represent it, the console optionally warns the user that installers will not be silent for this import, then proceeds to start the import, downloading and launching the installer and printing a notice that the user needs to finish the install in the installer window before the rest of the packages can be installed, looping through this until the import list is finished or a fatal error occurs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the import command's CLI handling and trace how package installers are launched. Determine how an interactive option should affect silent installation, sequencing, console notices, and fatal-error handling. Done means an import can process packages interactively in order while clearly prompting the user to finish each installer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100