code: def _register(self):
      super()._register()
      self._parser.add_argument(
          "--project",
          type=str,
          help="The name of the project to configure",
      )
      self._parser.add_argument("--url", type=str, help="Server url")
      self._parser.add_argument("--token", type=str, help="User token")
      self._parser.add_argument(
          "--default",
          action="store_true",
          help="Set the project as default. It will be used when --project is omitted in commands.",
          default=False,
      )
      self._parser.add_argument(
          "--remove",
          action="store_true",
          help="Delete project configuration",
      )
      self._parser.add_argument(
          "--no-default",
          help="Do not prompt to set the project as default",
          action="store_true",
      )
  
file_path: dstack/src/dstack/_internal/cli/commands/config.py
imports: import argparse
  from requests import HTTPError
  import dstack.api.server
  from dstack._internal.cli.commands import BaseCommand
  from dstack._internal.cli.utils.common import colors, confirm_ask, console
  from dstack._internal.core.errors import CLIError
  from dstack._internal.core.services.configs import ConfigManager
label_desc: Use image node_id 1 for calling the ConfigCommand obj's underlying member method code with example usage: obj._register() without return types