parameters: (self, argv=None)
docstring: Parse command-line arguments.
docstring_summary: Parse command-line arguments.
docstring_tokens: Parse command - line arguments .
function: def parse_args(self, argv=None):
          """ Parse command-line arguments.
              """
          if argv is None:
              argv = sys.argv
  
          min_args = 2
          if len(argv) < min_args:
              self._usage_exit(argv)
  
          self.action = argv[1]
          if self.action not in self.action_funcs:
              self._usage_exit(argv)
function_tokens: def parse_args ( self , argv = None ) : if argv is None : argv = sys . argv min_args = 2 if len ( argv ) < min_args : self . _usage_exit ( argv ) self . action = argv [ 1 ] if self . action not in self . action_funcs : self . _usage_exit ( argv )