code: def standard_parser(cls, verbose=True,
                          interactive=False,
                          no_interactive=False,
                          simulate=False,
                          quiet=False,
                          overwrite=False):
          
          parser = BoolOptionParser()
          if verbose:
              parser.add_option('-v', '--verbose',
                                action='count',
                                dest='verbose',
                                default=0)
          if quiet:
              parser.add_option('-q', '--quiet',
                                action='count',
                                dest='quiet',
                                default=0)
          if no_interactive:
              parser.add_option('--no-interactive',
                                action="count",
                                dest="no_interactive",
                                default=0)
          if interactive:
              parser.add_option('-i', '--interactive',
                                action='count',
                                dest='interactive',
                                default=0)
          if simulate:
              parser.add_option('-n', '--simulate',
                                action='store_true',
                                dest='simulate',
                                default=False)
          if overwrite:
              parser.add_option('-f', '--overwrite',
                                dest="overwrite",
                                action="store_true",
                                help="Overwrite files (warnings will be emitted for non-matching files otherwise)")
          return parser
docs: Create a standard ``OptionParser`` instance.
  
          Typically used like::
  
              class MyCommand(Command):
                  parser = Command.standard_parser()
  
          Subclasses may redefine ``standard_parser``, so use the
          nearest superclass's class method.