Skip to content

Add support for modules that require license acceptance in Install-PodeLocalModule #1593

@DanGough

Description

@DanGough

Describe the Change

I would like to add 'PListParserLibrary.Powershell.PlistParser' to my package.json, however that leads to an error running pode install:

=> Downloading PListParserLibrary.Powershell.PlistParser@0.1.0 from PSGallery... WARNING: License Acceptance is required for module 'PListParserLibrary.Powershell.PListParser'. Please specify '-AcceptLicense' to perform this operation.
Failed

This requires the -AcceptLicense parameter to be specified on the Save-Module command. Rather than make this an additional package.json option, I think we should be fine to just add it to the default command.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions