Public/Get-DuneSetting.ps1

<#
.SYNOPSIS
Return the Dune module configuration object.

.DESCRIPTION
Returns the script-level cached Dune configuration stored in `$Script:Config`. This is used by cmdlets that need module-level settings.

.EXAMPLE
PS> Get-DuneSetting
Returns the current Dune module configuration object.
#>

function Get-DuneSetting {
    [CmdletBinding()]
    param (
    )

    $Script:Config
}