I want to get the value of my field from the my environments
environments
System-Provided:
{
"VCAP_SERVICES": {
"mySerivce" : {
"url" :"myValue"
},
"mySerivce2" : {
"url" :"myValue2"
}
}
}
I want to get the value of url from System-Provided -> "VCAP_SERVICES"-> "mySerivce2" ->
I tried
cf env myApp| grep url| cut -d ':' -f2)"
bu then I got two results from all the services How I can get result only from one service ? also there are many fields in each service