code: def do_hit(self, arg):
          
  
          if arg['create']:
              self.hit_create(arg['<numWorkers>'], arg['<reward>'],
                              arg['<duration>'])
              self.update_hit_tally()
          elif arg['extend']:
              self.amt_services_wrapper.hit_extend(arg['<HITid>'], arg['<number>'], arg['<minutes>'])
          elif arg['expire']:
              self.amt_services_wrapper.hit_expire(arg['--all'], arg['<HITid>'])
              self.update_hit_tally()
          elif arg['delete'] or arg['dispose']:
              self.amt_services_wrapper.hit_delete(arg['--all'], arg['<HITid>'])
              self.update_hit_tally()
          elif arg['list']:
              self.hit_list(arg['--active'], arg['--reviewable'], arg['--all-studies'])
          else:
              self.help_hit()
docs: Usage:
            hit create [<numWorkers> <reward> <duration>]
            hit extend <HITid> [(--assignments <number>)] [(--expiration <minutes>)]
            hit expire (--all | <HITid> ...)
            hit dispose (--all | <HITid> ...)
            hit delete (--all | <HITid> ...)
            hit list [--active | --reviewable] [--all-studies]
            hit help