PowerShellGetv2
PowerShellGetv2 copied to clipboard
PSGet needs to support selectively installing modules that support multiple platform runtimes
As more module authors are trying to support cross-platform and cross-PowerShell (Windows PowerShell versions and PSCore6), PSGet should adopt same packaging as nupkg for multiple runtimes. Conceptually, the module author would layout their module like:
- MyModule
- Runtimes
- osx-x64
- win-x64
- win-x86
- linux-x64
- linux-arm32
- Runtimes
When user does install-module
, it should only install the bits for the runtime that matches the system. save-module
should probably save all the runtimes. Similar structure for differentiating PowerShell versions.