PowerCraft.Continuity.psm1
|
# PowerCraft.Continuity: the context of a working folder (the sessions, the memory, the chat history) saved from each # machine into a repository of its own, so that the work can move between machines and a new session can be brought in. $script:PCContinuityRoot = $PSScriptRoot $script:PCContinuityVersion = (Import-PowerShellDataFile -LiteralPath (Join-Path $PSScriptRoot 'PowerCraft.Continuity.psd1')).ModuleVersion foreach ($folder in 'Private', 'Public') { foreach ($file in Get-ChildItem -LiteralPath (Join-Path $PSScriptRoot $folder) -Filter *.ps1 | Sort-Object Name) { . $file.FullName } } |