Ghost.psd1

@{
    RootModule           = 'Ghost.psm1'
    ModuleVersion        = '0.1.0'
    CompatiblePSEditions = @('Desktop', 'Core')
    GUID                 = '2c88733f-7c78-4043-b269-2b3306b8c3fe'
    Author               = 'Gijs Reijn'
    CompanyName          = 'Community'
    Copyright            = '(c) Gijs Reijn. All rights reserved.'
    Description          = 'Community module for the Ghost Admin API: posts, tags, images, themes and Markdown files.'
    PowerShellVersion    = '5.1'
    FormatsToProcess     = @(
        'ObjectDefinitions/Ghost.Image.ps1xml'
        'ObjectDefinitions/Ghost.Post.ps1xml'
        'ObjectDefinitions/Ghost.PostSync.ps1xml'
        'ObjectDefinitions/Ghost.Tag.ps1xml'
        'ObjectDefinitions/Ghost.Theme.ps1xml'
    )
    FunctionsToExport    = @(
        'Connect-Ghost'
        'Copy-GhostPost'
        'Disconnect-Ghost'
        'Enable-GhostTheme'
        'Get-GhostPost'
        'Get-GhostTag'
        'New-GhostImage'
        'New-GhostPost'
        'New-GhostTag'
        'New-GhostTheme'
        'Publish-GhostPost'
        'Remove-GhostPost'
        'Remove-GhostTag'
        'Set-GhostPost'
        'Set-GhostTag'
        'Sync-GhostPost'
        'Unpublish-GhostPost'
    )
    CmdletsToExport      = @()
    VariablesToExport    = @()
    AliasesToExport      = @()

    PrivateData          = @{
        PSData = @{
            Tags         = @('Ghost', 'GhostCMS', 'AdminAPI', 'Blog', 'CMS', 'Publishing', 'Markdown', 'REST')

            # build/build.ps1 sets the prerelease label, such as preview1, in the copy that is published.
            Prerelease   = ''

            # build/build.ps1 fills in the notes of the version from CHANGELOG.md, in the copy that is published.
            ReleaseNotes = '### Added

- `Connect-Ghost` and `Disconnect-Ghost`: connect to the Admin API of a site with an Admin API key or a staff
  access token, also from the environment variables `GHOST_ADMIN_API_URL` and `GHOST_ADMIN_API_KEY`.
- Posts: `Get-GhostPost`, `New-GhostPost`, `Set-GhostPost`, `Remove-GhostPost`, `Copy-GhostPost`,
  `Publish-GhostPost` and `Unpublish-GhostPost`. Content can be Markdown, HTML or Lexical.
- `Sync-GhostPost`: create and update posts from Markdown files with front matter, and only when a file differs
  from its post. Image files next to a post are uploaded, once.
- `New-GhostImage`: upload an image.
- Tags: `Get-GhostTag`, `New-GhostTag`, `Set-GhostTag` and `Remove-GhostTag`.
- Themes: `New-GhostTheme` uploads a theme from a zip file or from its folder, and `Enable-GhostTheme` activates
  one.
- Windows PowerShell 5.1 and PowerShell 7 are both supported, for a site that runs Ghost 5.0 or later.'

        }
    }
}