PSql.psd1

# Copyright 2023 Subatomix Research Inc.
# SPDX-License-Identifier: ISC
@{
    # Identity
    GUID          = '218cb4b2-911a-46b1-b47c-d3504acd4627'
    RootModule    = 'PSql.dll'
    ModuleVersion = '3.0.0'

    # General
    Description = 'Provides basic cmdlets to connect and invoke commands against SQL Server and Azure SQL databases.'
    Author      = 'Jeffrey Sharp'
    CompanyName = 'Subatomix Research Inc.'
    Copyright   = '© 2023 Subatomix Research Inc.'

    # Requirements
    CompatiblePSEditions = 'Core'
    PowerShellVersion    = '7.0'
    #RequiredModules = @(...)
    RequiredAssemblies   = @("PSql.Core")

    # Initialization
    #ScriptsToProcess = @(...)
    #TypesToProcess = @(...)
    #FormatsToProcess = @(...)
    #NestedModules = @(...)

    # Exports
    # NOTE: Use empty arrays to indicate no exports.
    FunctionsToExport    = @()
    VariablesToExport    = @()
    AliasesToExport      = @()
    DscResourcesToExport = @()
    CmdletsToExport      = @(
        "New-SqlContext"
        "Connect-Sql"
        "Disconnect-Sql"
        "Expand-SqlCmdDirectives"
        "Invoke-Sql"
    )

    # Discoverability and URLs
    PrivateData = @{
        PSData = @{
            # Additional metadata
            Prerelease   = 'pre07'
            ProjectUri   = 'https://github.com/sharpjs/PSql'
            ReleaseNotes = "https://github.com/sharpjs/PSql/blob/main/CHANGES.md"
            LicenseUri   = 'https://github.com/sharpjs/PSql/blob/main/LICENSE.txt'
            IconUri      = 'https://github.com/sharpjs/PSql/blob/main/icon.png'
            Tags         = @(
                "SQL", "SqlServer", "Azure", "Invoke", "SqlCmd",
                "PSEdition_Core", "Windows", "Linux", "MacOS"
            )
        }
    }
}