Skip to content

Commit

Permalink
chore(cli): remove unused --no-trunc (#2965)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamintanweihao committed Sep 3, 2022
1 parent f0e0bf0 commit db31e42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions bentoml_cli/bentos.py
Expand Up @@ -92,12 +92,7 @@ def get(bento_tag: str, output: str) -> None: # type: ignore (not accessed)
type=click.Choice(["json", "yaml", "table"]),
default="table",
)
@click.option(
"--no-trunc",
is_flag=False,
help="Don't truncate the output",
)
def list_bentos(bento_name: str, output: str, no_trunc: bool) -> None: # type: ignore (not accessed)
def list_bentos(bento_name: str, output: str) -> None: # type: ignore (not accessed)
"""List Bentos in local store
\b
Expand Down
7 changes: 1 addition & 6 deletions bentoml_cli/models.py
Expand Up @@ -92,12 +92,7 @@ def get(model_tag: str, output: str) -> None: # type: ignore (not accessed)
type=click.Choice(["json", "yaml", "table"]),
default="table",
)
@click.option(
"--no-trunc",
is_flag=False,
help="Don't truncate the output",
)
def list_models(model_name: str, output: str, no_trunc: bool) -> None: # type: ignore (not accessed)
def list_models(model_name: str, output: str) -> None: # type: ignore (not accessed)
"""List Models in local store
\b
Expand Down

0 comments on commit db31e42

Please sign in to comment.