Samples/dockergetps.Crescendo.json

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