pub fn run(cmd: &ApiCommand, global_hostname: Option<&str>) -> Result<()>
Run the gor api subcommand.
gor api
Returns an error if the command execution fails.