Skip to content

Commit

Permalink
Improve documentation for Invoke-PSModulePublisher
Browse files Browse the repository at this point in the history
  • Loading branch information
joeltimothyoh committed May 7, 2024
1 parent 0dd484f commit 41598e8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/PSModulePublisher/Public/Invoke-PSModulePublisher.ps1
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
#########################################################################################################################################################
# This function is designed for use in development environments for executing the same build, test, and publish steps that will run in CI environments. #
# You can use the provided switches to test the publishing process in your development environment. #
#########################################################################################################################################################

function Invoke-PSModulePublisher {
[CmdletBinding()]
param(
[Parameter(Mandatory=$false,HelpMessage="Path to the repository")]
[Parameter(Mandatory=$false,HelpMessage="Name of the PowerShell repository")]
[ValidateNotNullOrEmpty()]
[string]$Repository
,
[Parameter(Mandatory=$false,HelpMessage="Whether to do a dry run")]
[Parameter(Mandatory=$false,HelpMessage="Perform a dry run when publishing the module")]
[switch]$DryRun
)

Expand Down

0 comments on commit 41598e8

Please sign in to comment.