How to write CF CLI (Cloud Foundry Commands) in Golang Program

What is this command? Can you provide a linkt to a description and documentation?