def go(self):
        #print(self.args)
        if self.args.type == 'draft':
            self._update_a_draft()
        elif self.args.type in ('post', 'page'):
            self._update_articles()
        elif self.args.type in ('tag', 'category'):
            self._update_term()
dataset/ETHPy150Open zrong/wpcmd/wpcmd/update.py/UpdateAction.go/original