PowerShell / PowerShell/PSResourceGet
Add the prefix option to install-module
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
When installing modules it would be ideal to have the option to add a prefix to the modules to avoid conflicts with existing modules. This would help when installing items like powercli and hyper-v modules on the same machine.
Proposed technical implementation details (optional)
The -prefix option would work in a similar fashion to the way it works with import-module. This would append the prefix to each of the modules and cmdlets.
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
Beginne damit, die Implementierung von install-module zu lokalisieren und ihre Verarbeitung der Optionen mit dem Präfixverhalten von import-module zu vergleichen. Verfolge anschließend, wie installierte Module und ihre Cmdlets registriert werden, und überprüfe dann, dass während der Installation ein Präfix angegeben werden kann und ohne Konflikte konsistent angewendet wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, powershell
- Bereich
- cli, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100