PowerShell / PowerShell/PSResourceGet
Enable dynamic install of cmdlets
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 576
- Forks
- 114
- Ø Merge
- 1 T. 2 Std.
- Gemergte PRs (30 T.)
- 7
Beschreibung
Summary of the new feature / enhancement
For large families of modules like Az, AWS, MSGraph, Office, etc... users do not want to download all the modules when they only use a subset of the cmdlets. Taking Az as an example, they may determine that the top 5 cmdlets in Az.Compute are implemented and the remaining cmdlets in that module are stubs. When a stub cmdlet is run, it either prompts to confirm installing the necessary sub-module or automatically installs based on some configuration setting. The arguments passed to the cmdlet are then passed to the installed cmdlet to execute.
Proposed technical implementation details (optional)
Need to consider:
- Can we avoid changes in PS7 engine to support this?
- How will stubs get registered so PSGet is aware of them (maybe something in PrivateData?)
- If stubs exist in their own module, but is an older version, then the real implementation will automatically be used as long as it has a newer version
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, die vorgeschlagenen Fragen zu Änderungen an der PS7-Engine, zur PSGet-Registrierung, zu PrivateData, zur Versionsauswahl, zu Eingabeaufforderungen und zur Argumentweiterleitung zu klären; die Arbeit ist erst abgeschlossen, wenn das Design für die dynamische Installation und der Umfang seiner Implementierung definiert sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- powershell
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100