def import_from(model_path: str) -> None:  # type: ignore (not accessed)
    """Import a previously exported Model archive file

    bentoml models import ./my_model.bentomodel
    bentoml models import s3://mybucket/models/my_model.bentomodel
    """
    bentomodel = import_model(model_path)
    rich.print(f"[green]{bentomodel}[/] imported.")
Import a previously exported Model archive file

bentoml models import ./my_model.bentomodel
bentoml models import s3://mybucket/models/my_model.bentomodel
src/bentoml_cli/models.py