MCPcopy Create free account
hub / github.com/LaunchPlatform/beanhub-cli / sync

Function sync

beanhub_cli/connect/main.py:254–257  ·  view source on GitHub ↗
(env: Environment, repo: str | None, import_: bool)

Source from the content-addressed store, hash-verified

252@pass_env
253@handle_api_exception(logger)
254def sync(env: Environment, repo: str | None, import_: bool):
255 config = ensure_auth_config(api_base_url=env.api_base_url, repo=repo)
256 run_sync(env, config, import_and_commit=import_)
257 env.logger.info("done")
258
259
260@cli.command(

Callers

nothing calls this directly

Calls 2

ensure_auth_configFunction · 0.85
run_syncFunction · 0.85

Tested by

no test coverage detected