'Determines the verb/subcommand provided by the user.
This function works around some of the limitations of argparse.'

def determine_verb(self):

    if (('-h' in self.args) or ('--help' in self.args)):
        self.verb = 'help'
        return
    for (i, token) in enumerate(self.args):
        if (token in self.VERBS):
            verb = token
            if (verb == 'auth'):
                verb = 'certonly'
            if (verb == 'everything'):
                verb = 'run'
            self.verb = verb
            self.args.pop(i)
            return
    self.verb = 'run'
