Public/SourceControl/New-EdenRepo.ps1
function New-EdenRepo { [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseShouldProcessForStateChangingFunctions', '', Scope='Function')] <# .SYNOPSIS Creating a new repository. .DESCRIPTION Creating a new repository. by calling the local './Eden/SourceControl/New-Repo.ps1' script. #> [CmdletBinding()] param( # The name of the local or global settins file to pass to the Eden script. [Alias("sn")] [String] $SettingsName, # The additional arguments to pass to the Eden script. [Alias("aa")] [HashTable] $AdditionalArguments ) Invoke-EdenCommandStandardFlow ` -LocalCommandPath "SourceControl/New-Repo" ` -SettingsName $SettingsName ` -CommandGroup "Source Control" ` -Message "Creating a new repository." ` -AdditionalArguments $AdditionalArguments } New-Alias ` -Name e-scrn ` -Value New-EdenRepo ` -Force |