MCPcopy Index your code
hub / github.com/HKUDS/DeepTutor / init_command

Function init_command

deeptutor_cli/init_cmd.py:511–517  ·  view source on GitHub ↗

Create or update data/user/settings for this workspace.

(
        cli: bool = typer.Option(False, "--cli", help="Initialize for CLI-only use."),
        home: Path | None = typer.Option(None, "--home", help="Runtime workspace root."),
    )

Source from the content-addressed store, hash-verified

509def register(app: typer.Typer) -> None:
510 @app.command("init")
511 def init_command(
512 cli: bool = typer.Option(False, "--cli", help="Initialize for CLI-only use."),
513 home: Path | None = typer.Option(None, "--home", help="Runtime workspace root."),
514 ) -> None:
515 """Create or update data/user/settings for this workspace."""
516
517 run_init(cli_only=cli, home=home)

Callers

nothing calls this directly

Calls 1

run_initFunction · 0.85

Tested by

no test coverage detected