def AutoArchiveJobs(opts, args):
  client = GetClient()

  age = args[0]

  if age == "all":
    age = -1
  else:
    age = ParseTimespec(age)

  (archived_count, jobs_left) = client.AutoArchiveJobs(age)
  ToStdout("Archived %s jobs, %s unchecked left", archived_count, jobs_left)

  return 0
Parse the implicit token response URI into a dict.
dataset/ETHPy150Open ganeti/ganeti/lib/client/gnt_job.py/AutoArchiveJobs--crossover with--dataset/ETHPy150Open idan/oauthlib/oauthlib/oauth2/rfc6749/parameters.py/parse_implicit_response