diff --git a/infrahub_sdk/ctl/repository.py b/infrahub_sdk/ctl/repository.py index ec03136a..1e4ca6f4 100644 --- a/infrahub_sdk/ctl/repository.py +++ b/infrahub_sdk/ctl/repository.py @@ -150,8 +150,8 @@ async def add( await client.execute_graphql(query=query.render(), tracker="mutation-repository-create") -@app.command() -async def list( +@app.command(name="list") +async def list_repositories( branch: str | None = typer.Option(None, help="Branch on which to list repositories."), debug: bool = False, _: str = CONFIG_PARAM, diff --git a/pyproject.toml b/pyproject.toml index 2ade0bc8..47e8db5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -268,7 +268,6 @@ ignorelist = [ # Review and update builtin shadowing below this line "filter", "format", - "list", "property", ]