Samples/dockergetps.Crescendo.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
    "$schema": "../src/Microsoft.PowerShell.Crescendo.Schema.json",
    "Verb": "Get",
    "Noun": "DockerPs",
    "OriginalName": "docker",
    "OriginalCommandElements": [
        "ps",
        "--format",
        "{{json .}}"
    ],
    "OutputHandlers": [
        {
        "ParameterSetName": "Default",
        "Handler": "$args[0] | convertfrom-json | Add-Member -TypeName DockerProcess -PassThru"
        }
    ]
 
}