code: def parse_args(parser):
      
      args = parser.parse_args()
  
      if args.q:
          logging.getLogger().disabled = True
          sys.stdout = sys.stderr = open(os.devnull, "w")
  
      if args.a:
          util.Color.alpha_num = args.a
  
      if args.i:
          image_file = image.get(args.i, iterative=args.iterative)
          colors_plain = colors.get(image_file, args.l, args.backend,
                                    sat=args.saturate)
  
      if args.theme:
          colors_plain = theme.file(args.theme, args.l)
  
      if args.R:
          colors_plain = theme.file(os.path.join(CACHE_DIR, "colors.json"))
  
      if args.b:
          args.b = "#%s" % (args.b.strip("#"))
          colors_plain["special"]["background"] = args.b
          colors_plain["colors"]["color0"] = args.b
  
      if not args.n:
          wallpaper.change(colors_plain["wallpaper"])
  
      sequences.send(colors_plain, to_send=not args.s, vte_fix=args.vte)
  
      if sys.stdout.isatty():
          colors.palette()
  
      export.every(colors_plain)
  
      if not args.e:
          reload.env(tty_reload=not args.t)
  
      if args.o:
          for cmd in args.o:
              util.disown([cmd])
  
      if not args.e:
          reload.gtk()
docs: Process args.