code: def onecodex(ctx, api_key, no_pprint, verbose, telemetry):
      
      # set up the context for sub commands
      click.Context.get_usage = click.Context.get_help
      ctx.obj = {}
      ctx.obj["API_KEY"] = api_key
      ctx.obj["NOPPRINT"] = no_pprint
      ctx.obj["TELEMETRY"] = telemetry
  
      if verbose:
          log.setLevel(logging.DEBUG)
  
      # handle checking insecure platform, we let upload command do it by itself
      if ctx.invoked_subcommand != "upload":
          warn_if_insecure_platform()
docs: One Codex v1 API command line interface