-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPnP.Wsl2.Json
29 lines (29 loc) · 988 Bytes
/
PnP.Wsl2.Json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"PnPWsl2RootFolder": "#",
"WslCandyFolder": "#",
"WslActiveDistribution": "ubuntu",
"WslTempFolder": "#",
"Labels": {
"Configuration": {
"TITLE": "Configuration",
"DESCRIPTION": ""
}
},
"Commands": {
"Add-WslInstance": "--install -d {0}",
"Start-PnPWsl2": "wsl",
"Stop-PnPWsl2": "wsl --shutdown",
"Terminate-WSLInstance": "wsl --terminate {0}",
"Export-WSLInstance": "wsl --export {0} {1}",
"Import-WSLInstance": "wsl --import {0} {1} {2}",
"Set-WslDefaultVersion": "wsl --set-default-version 2",
"Set-WslDefaultInstance": "wsl --set-default {0}",
"Get-WslDistributionsOnline": "wsl --list --online ",
"Get-WslDistributionsLocal": "wsl --list ",
"Get-WslPath": "wsl -d {0} wslpath -u {1}",
"Copy-WslFile": "wsl cp '{0}' '{1}'",
"Execute-WslBashFile": "wsl -d {0} bash -ic '{1}'",
"Execute-WslBashFiles": "wsl -d {0} bash -ic '{1};{2}'",
"Remove-WslInstance": "wsl --unregister '{0}'"
}
}