INNER CODE UNIT · Python

start

minos-framework/minos-python · tutorials/eboutique/microservices/notifier/src/cli.py:22

def start(
    file_path: Optional[Path] = typer.Argument(
        "config.yml",
        help="Microservice configuration file.",
        envvar="MINOS_CONFIGURATION_FILE_PATH",
    )
):
    """Start the microservice."""
    launcher = EntrypointLauncher.from_config(file_path, external_modules=[sys.modules["src"]])
    launcher.launch()


@app.callback()
def callback():
    """Minos microservice CLI."""


def main():  # pragma: no cover

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…