We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833074d commit c602b66Copy full SHA for c602b66
infrahub_sdk/ctl/repository.py
@@ -115,6 +115,7 @@ async def add(
115
116
@app.command()
117
async def list(
118
+ branch: str = typer.Option(None, help="Branch on which to check the schema."),
119
debug: bool = False,
120
_: str = CONFIG_PARAM,
121
) -> None:
@@ -140,7 +141,7 @@ async def list(
140
141
}
142
143
query = Query(name="GetRepositoryStatus", query=repo_status_query)
- resp = await client.execute_graphql(query=query.render(), tracker="query-repository-list")
144
+ resp = await client.execute_graphql(query=query.render(), branch_name=branch, tracker="query-repository-list")
145
146
table = Table(title="List of all Repositories")
147
0 commit comments