MCPcopy Create free account
hub / github.com/benzaita/dockerized-cli / init

Function init

dockerized/ui/cli.py:51–59  ·  view source on GitHub ↗
(from_spec)

Source from the content-addressed store, hash-verified

49 help="URL to copy .dockerized/ from (must be git-clone compatible). See https://github.com/benzaita/dockerized-cli/wiki/Examples",
50)
51def init(from_spec):
52 with friendly_dockerized_errors(click):
53 init_command = InitCommand(Path.cwd(), from_spec=from_spec)
54 init_command.run()
55
56 if from_spec:
57 click.echo(f"initialized .dockerized/ from {from_spec}")
58 else:
59 click.echo('created')
60
61
62@main.command(

Callers

nothing calls this directly

Calls 3

runMethod · 0.95
InitCommandClass · 0.90

Tested by

no test coverage detected