code: def run(self):
      from dvc.exceptions import InitError
      from dvc.repo import Repo
  
      try:
          with Repo.init(
              ".",
              no_scm=self.args.no_scm,
              force=self.args.force,
              subdir=self.args.subdir,
          ) as repo:
              self.config = repo.config
              _welcome_message()
      except InitError:
          logger.exception("failed to initiate DVC")
          return 1
      return 0
  
file_path: dvc/dvc/commands/init.py
imports: import colorama
  from dvc import analytics
  from dvc.cli import formatter
  from dvc.cli.command import CmdBaseNoRepo
  from dvc.cli.utils import append_doc_link
  from dvc.log import logger
  from dvc.utils import boxify
  from dvc.utils import format_link
label_desc: Use image node_id 1 for calling the CmdInit obj's underlying member method code with example usage: obj.run() and returns: int, int