code: def __init__(self, parser: argparse.ArgumentParser):
      self._parser = parser
  
file_path: dstack/src/dstack/_internal/cli/commands/__init__.py
imports: import argparse
  import os
  from abc import ABC, abstractmethod
  from pathlib import Path
  from rich_argparse import RichHelpFormatter
  import dstack._internal.core.services.api_client
  from dstack._internal.cli.utils.common import configure_logging
  from dstack._internal.core.errors import CLIError, ConfigurationError
  from dstack.api import Client
  from dstack.api.server import APIClient
label_desc: Use image node_id 1 to create a new BaseCommand object from inherited base classes: ABC with example: obj = BaseCommand(parser)