@@ -1515,6 +1515,7 @@ def delete_storage(ctx, storage_ids: list[str] | None, interactive: bool) -> Non
1515
1515
@click .pass_context
1516
1516
@click .option (
1517
1517
"--format" ,
1518
+ "table_format" ,
1518
1519
type = click .Choice (list (tabulate ._table_formats .keys ())),
1519
1520
help = "Display as table with output format" ,
1520
1521
default = None ,
@@ -1542,7 +1543,7 @@ def delete_storage(ctx, storage_ids: list[str] | None, interactive: bool) -> Non
1542
1543
@click .option ("--enabled" , is_flag = True , help = "Show if storage is enabled" )
1543
1544
def list_storages (
1544
1545
ctx ,
1545
- format : str ,
1546
+ table_format : str ,
1546
1547
backend : bool ,
1547
1548
tenant_usable : bool ,
1548
1549
default : bool ,
@@ -1572,7 +1573,7 @@ def list_storages(
1572
1573
storages ,
1573
1574
plain_text = ctx .obj ["plain" ],
1574
1575
enumerate_ = enumerate_ ,
1575
- format = format ,
1576
+ format = table_format ,
1576
1577
)
1577
1578
click .echo (table )
1578
1579
@@ -1616,6 +1617,7 @@ def simvue_artifact(ctx):
1616
1617
@click .pass_context
1617
1618
@click .option (
1618
1619
"--format" ,
1620
+ "table_format" ,
1619
1621
type = click .Choice (list (tabulate ._table_formats .keys ())),
1620
1622
help = "Display as table with output format" ,
1621
1623
default = None ,
@@ -1663,10 +1665,9 @@ def simvue_artifact(ctx):
1663
1665
show_default = True ,
1664
1666
)
1665
1667
@click .option ("--reverse" , help = "Reverse ordering" , default = False , is_flag = True )
1666
- @click .pass_context
1667
1668
def artifact_list (
1668
1669
ctx ,
1669
- format_ : str ,
1670
+ table_format : str | None ,
1670
1671
enumerate_ : bool ,
1671
1672
original_path : bool ,
1672
1673
storage : bool ,
@@ -1707,7 +1708,7 @@ def artifact_list(
1707
1708
storages ,
1708
1709
plain_text = ctx .obj ["plain" ],
1709
1710
enumerate_ = enumerate_ ,
1710
- format = format ,
1711
+ format = table_format ,
1711
1712
)
1712
1713
click .echo (table )
1713
1714
0 commit comments