Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

23 рядки
825B

  1. <#
  2. .SYNOPSIS
  3. Print the proposed spec (Markdown) for the user to approve before generation.
  4. .DESCRIPTION
  5. Interview step 4. Works on a draft once every stage except "review" is complete. Shows
  6. scope, assumptions, target and toolchain, the first milestone, acceptance checks and the
  7. destination folder (and whether it is free). Exit 1 if the brief is not complete enough.
  8. .EXAMPLE
  9. pwsh -File tools/Show-FoundrySpec.ps1 drafts/my-game.json
  10. #>
  11. [CmdletBinding()]
  12. param([Parameter(Mandatory, Position = 0)][string]$Path)
  13. Import-Module (Join-Path $PSScriptRoot 'Foundry.psm1') -Force
  14. try {
  15. $full = (Resolve-Path -LiteralPath $Path).ProviderPath
  16. Format-FoundrySpecPreview -Brief (Read-FoundryJson $full) -BriefPath $full
  17. } catch {
  18. Write-Host $_.Exception.Message -ForegroundColor Yellow
  19. exit 1
  20. }

Powered by TurnKey Linux.