class_docstr: Parser object handling the upper-level parsing of Oríon's arguments.
docstr: Create the pre-command arguments
docstr_tok: ["Create","the","pre-command","arguments"]
code: def __init__(self, description=CLI_DOC_HEADER):
      """Create the pre-command arguments"""
      self.description = description
  
      self.parser = argparse.ArgumentParser(
          formatter_class=argparse.RawDescriptionHelpFormatter,
          description=textwrap.dedent(description),
      )
  
      self.parser.add_argument(
          "-V",
          "--version",
          action="version",
          version="orion " + orion.core.__version__,
      )
  
      self.parser.add_argument(
          "-v",
          "--verbose",
          action="count",
          default=0,
          help="logging levels of information about the process (-v: INFO. -vv: DEBUG)",
      )
  
      self.parser.add_argument(
          "--logdir",
          type=str,
          default=None,
          help="Path to a directory to store logs",
      )
  
      self.parser.add_argument(
          "-d",
          "--debug",
          action="store_true",
          help="Use debugging mode with EphemeralDB.",
      )
  
      self.subparsers = self.parser.add_subparsers(dest="command")
  
file_path: orion/src/orion/core/cli/base.py
imports: import argparse
  import logging
  import os
  import sys
  import textwrap
  import orion
  import orion.core
  from orion.core.io.database import DatabaseError
  from orion.core.utils.exceptions import BranchingEvent, InexecutableUserScript, MissingResultFile, NoConfigurationError, NoNameError
label_desc: Use image node_id 1 to create a new OrionArgsParser object  with example: obj = OrionArgsParser(description)