Files
DevFlow/docs/02-架构设计/专项设计/.research/show-comments.ps1
T

9 lines
366 B
PowerShell

$c = Get-Content 'E:\wk-lab\devflow\docs\02-架构设计\专项设计\.research\issue-130-comments.json' -Raw | ConvertFrom-Json
$out = foreach ($x in $c) {
"=== $($x.user.login) @ $($x.created_at) ==="
$x.body
""
}
$out | Set-Content 'E:\wk-lab\devflow\docs\02-架构设计\专项设计\.research\issue-130-comments.txt' -Encoding UTF8
Write-Output "written"