Public/Invoke-DevCleanup.ps1

function Invoke-DevCleanup {
    <#
    .SYNOPSIS
    Reports that the deprecated cleanup command is not implemented.

    .DESCRIPTION
    DevXToolkit v1 does not define a safe cleanup policy. This deprecated
    command remains exported for v1 compatibility, throws NotSupportedException,
    never changes the target path, and is scheduled for removal in v2.

    .PARAMETER Path
    Path that a future cleanup implementation would inspect.

    .EXAMPLE
    Invoke-DevCleanup -Path C:\projects\demo
    #>

    [System.ObsoleteAttribute(
        'Invoke-DevCleanup is deprecated and will be removed in DevXToolkit v2. No cleanup policy is implemented.'
    )]
    [CmdletBinding()]
    param(
        [Parameter()]
        [string]$Path = (Get-Location).Path
    )

    throw [System.NotSupportedException]::new(
        "Cleanup is not implemented in DevXToolkit v1. No changes were made to '$Path'."
    )
}