Samples/dockergetps.Crescendo.json

{
   "$schema": "../src/Microsoft.PowerShell.Crescendo.Schema.json",
   "Commands": [
        {
            "Verb": "Get",
            "Noun": "DockerPs",
            "OriginalName": "docker",
            "OriginalCommandElements": [
                "ps",
                "--format",
                "{{json .}}"
            ],
            "OutputHandlers": [
                {
                "ParameterSetName": "Default",
                "Handler": "$args[0] | convertfrom-json | Add-Member -TypeName DockerProcess -PassThru"
                }
            ]
         
        }
    ]
}