
Major Overhaul with Breaking Changes split into packaged, default behavior moved into 'base' package each package has a json package description file with criteria for loading Modified Setup-Profile to refer to 'base' package path for auto loading moved Linux aliases and command to 'base.linux' package created 'docker' package to address docker supported systems modified Get-MyScripts, Edit-MyScripts and Reload-MyScripts accordingly. Dropped -System and sys.*, package json conditions will take care of it. Supplied command to create/edit package json files: - New-MyPackage - Add-PackageCondition - Set-MyPackage
11 lines
388 B
PowerShell
11 lines
388 B
PowerShell
#[CmdletBinding(SupportsShouldProcess)]param()
|
|
|
|
$local:dcParams = [string]::Empty
|
|
if( $args ) {
|
|
$dcParams = $args | ForEach-Object {
|
|
if( $_ -match "(?:^'[^']+'$)|(?:^`"[^`"]+`"$)|(?:^[^\s]+$)" ) { $_ }
|
|
else { "'$($_.Replace( "'", "''" ))'" }
|
|
}
|
|
}
|
|
docker-compose up -d --force-recreate --remove-orphans $dcParams && docker-compose logs --follow --tail 10 $dcParams
|
|
|