I should be able to `winget create` to call `wingetcreate`
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start at the client’s command registration for create and trace the existing install pipeline described in the proposal. Review how wingetcreate could be detected and how remaining arguments and exit codes would be forwarded. Done means the shim handles consent, non-interactive guidance, installation, and transparent new/update invocation while resolving the listed version and automation questions.
Written by the indexing model from the issue text.
Description
Description of the new feature/enhancement
I should be able to execute winget create and have the new manifest creation tool executed.
https://github.com/microsoft/winget-create/discussions/19?converting=1#discussioncomment-787509
Proposed technical implementation details (optional)
wingetcreate ships as a separate tool (its own winget package Microsoft.WingetCreate, a standalone executable, and a GitHub Action), so the client can''t assume it is present. Proposal for a lightweight bridge:
- Register a
createcommand in the client that acts as a shim rather than reimplementing manifest creation. - On first invocation, detect whether
wingetcreateis installed (onPATH, or via the installed-package catalog forMicrosoft.WingetCreate). - If missing, prompt the user for consent and install it via the existing install pipeline (
winget install Microsoft.WingetCreate). Respect--disable-interactivity(fail with actionable guidance rather than prompting) and honor an--accept-package-agreements-style flow. - Forward the remaining arguments to
wingetcreateand surface its exit code, sowinget create new ...,winget create update ..., etc. pass through transparently. - Subsequent calls skip the install check (fast path) once the tool is present, optionally offering to upgrade it when out of date.
Open questions:
- Should the client pin/verify a minimum
wingetcreateversion for argument compatibility? - Behavior in system context / non-interactive automation (CI) where auto-install may be undesirable - likely require the tool to be pre-provisioned and error out with guidance.
- Whether to gate this behind an experimental feature flag initially.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
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.
More from microsoft/winget-cli
-
Issue-Docs Possible-Duplicate
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
microsoft/winget-cli#6493 · 1 comment ·
-
Issue-Feature
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/winget-cli#6427 ·
-
Issue-Feature
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
microsoft/winget-cli#6397 ·
-
Issue-Feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/winget-cli#6396 · 1 reaction ·
-
Issue-Feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
microsoft/winget-cli#6394 · 1 comment ·
All issues in microsoft/winget-cli
Similar issues
-
Website Doc Typo Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
autowarefoundation/autoware_universe#13413 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
automated-analysis bug memory-safety
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100