MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / run

Method run

misc/python/materialize/cli/mzcompose.py:638–643  ·  view source on GitHub ↗
(self, args: argparse.Namespace)

Source from the content-addressed store, hash-verified

636 parser.add_argument("service", metavar="SERVICE", help="the service to target")
637
638 def run(self, args: argparse.Namespace) -> None:
639 composition = load_composition(args)
640 port = composition.default_port(args.service)
641 url = f"http://localhost:{port}"
642 print(f"Opening {url} in a web browser...")
643 webbrowser.open(url)
644
645
646class DockerComposeCommand(Command):

Callers

nothing calls this directly

Calls 3

load_compositionFunction · 0.85
default_portMethod · 0.80
openMethod · 0.45

Tested by

no test coverage detected