Public/Coding/New-EdenServiceFunctionResponse.ps1

function New-EdenServiceFunctionResponse {
    <#
    .SYNOPSIS
        Creating new function response.
    .DESCRIPTION
        Runs the './Eden/Coding/New-ServiceFunctionResponse.ps1' script.
    #>

    [CmdletBinding()]
    param(
        # The name of the new component to create.
        [Alias("n")]
        [Parameter(Mandatory=$True)]
        [String] $Name,
        # (Optional) The name of the service the component is being added to.
        [Alias("svn")]
        [String] $ServiceName,
        # (Optional) The name of the solution the component is being added to.
        [Alias("sln")]
        [String] $SolutionName,
        # 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-EdenCommandCodeFlow `
        -LocalCommandPath "Coding/New-ServiceFunctionResponse" `
        -Name $Name `
        -Servicename $ServiceName `
        -SolutionName $SolutionName `
        -SettingsName $SettingsName `
        -CommandGroup "Coding" `
        -Message "Creating new function response." `
        -AdditionalArguments $AdditionalArguments
}
New-Alias `
    -Name e-cscres `
    -Value New-EdenServiceFunctionResponse `
    -Force