code: def do_worker(self, arg):
          
          if arg['approve']:
              self.worker_approve(arg['--all'], arg['<hit_id>'], arg['<assignment_id>'], arg['--all-studies'], arg['--force'])
          elif arg['reject']:
              self.amt_services_wrapper.worker_reject(arg['<hit_id>'], arg['<assignment_id>'])
          elif arg['unreject']:
              self.amt_services_wrapper.worker_unreject(arg['<hit_id>'], arg['<assignment_id>'])
          elif arg['list']:
              self.worker_list(arg['--submitted'], arg['--approved'], arg['--rejected'], arg['<hit_id>'], arg['--all-studies'])
          elif arg['bonus']:
              self.amt_services_wrapper.worker_bonus(arg['<hit_id>'], arg['--auto'], arg['<amount>'], '',
                                arg['<assignment_id>'])
          else:
              self.help_worker()
docs: Usage:
            worker approve (--all | --hit <hit_id> ... | <assignment_id> ...) [--all-studies] [--force]
            worker reject (--hit <hit_id> | <assignment_id> ...)
            worker unreject (--hit <hit_id> | <assignment_id> ...)
            worker bonus  (--amount <amount> | --auto) (--hit <hit_id> | <assignment_id> ...)
            worker list [--submitted | --approved | --rejected] [(--hit <hit_id>)] [--all-studies]
            worker help