def get(
    model_tag: str,
    output: str,
    model_store: ModelStore = Provide[BentoMLContainer.model_store],
) -> None:  # type: ignore (not accessed)
    """Print Model details by providing the model_tag

    \b
    bentoml get iris_clf:qojf5xauugwqtgxi
    bentoml get iris_clf:qojf5xauugwqtgxi --output=json
    """
    model = model_store.get(model_tag)

    if output == "path":
        rich.print(model.path)
    elif output == "json":
        info = json.dumps(model.info.to_dict(), indent=2, default=str)
        rich.print_json(info)
    else:
        rich.print(Syntax(str(model.info.dump()), "yaml", background_color="default"))
Print Model details by providing the model_tag

\b
bentoml get iris_clf:qojf5xauugwqtgxi
bentoml get iris_clf:qojf5xauugwqtgxi --output=json
src/bentoml_cli/models.py