Public/New-DevBootstrap.ps1

function New-DevBootstrap {
    <#
    .SYNOPSIS
    Bootstraps a development environment and configuration.

    .DESCRIPTION
    Composes New-DevEnvironment and New-DevConfig for the requested directory.

    .PARAMETER Path
    Directory to bootstrap.

    .EXAMPLE
    New-DevBootstrap -Path C:\projects\demo
    #>

    [CmdletBinding(SupportsShouldProcess = $true)]
    param(
        [Parameter()]
        [string]$Path = (Get-Location).Path
    )

    if (-not $PSCmdlet.ShouldProcess($Path, 'Bootstrap development environment')) {
        return
    }

    New-DevEnvironment -Path $Path -Confirm:$false
    New-DevConfig -Path $Path -Confirm:$false

    Write-Information "Bootstrap complete" -InformationAction Continue
}