code: def _GenClientLibCallback(args, client_func=_GenClientLib):
    
    client_path = client_func(args.discovery_doc[0], args.language, args.output,
                              args.build_system)
    print 'API client library written to %s' % client_path
docs: Generate a client library to file.
  
    Args:
      args: An argparse.Namespace object to extract parameters from
      client_func: A function that generates client libraries and stores them to
        files, accepting a path to a discovery doc, a client library language, an
        output directory, and a build system for the client library language.