(self, args: argparse.Namespace)
| 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 | |
| 646 | class DockerComposeCommand(Command): |
nothing calls this directly
no test coverage detected