@@ -1518,6 +1518,7 @@ def delete_storage(ctx, storage_ids: list[str] | None, interactive: bool) -> Non
1518
1518
@click .pass_context
1519
1519
@click .option (
1520
1520
"--format" ,
1521
+ "table_format" ,
1521
1522
type = click .Choice (list (tabulate ._table_formats .keys ())),
1522
1523
help = "Display as table with output format" ,
1523
1524
default = None ,
@@ -1545,7 +1546,7 @@ def delete_storage(ctx, storage_ids: list[str] | None, interactive: bool) -> Non
1545
1546
@click .option ("--enabled" , is_flag = True , help = "Show if storage is enabled" )
1546
1547
def list_storages (
1547
1548
ctx ,
1548
- format : str ,
1549
+ table_format : str ,
1549
1550
backend : bool ,
1550
1551
tenant_usable : bool ,
1551
1552
default : bool ,
@@ -1575,7 +1576,7 @@ def list_storages(
1575
1576
storages ,
1576
1577
plain_text = ctx .obj ["plain" ],
1577
1578
enumerate_ = enumerate_ ,
1578
- format = format ,
1579
+ format = table_format ,
1579
1580
)
1580
1581
click .echo (table )
1581
1582
@@ -1619,6 +1620,7 @@ def simvue_artifact(ctx):
1619
1620
@click .pass_context
1620
1621
@click .option (
1621
1622
"--format" ,
1623
+ "table_format" ,
1622
1624
type = click .Choice (list (tabulate ._table_formats .keys ())),
1623
1625
help = "Display as table with output format" ,
1624
1626
default = None ,
@@ -1666,10 +1668,9 @@ def simvue_artifact(ctx):
1666
1668
show_default = True ,
1667
1669
)
1668
1670
@click .option ("--reverse" , help = "Reverse ordering" , default = False , is_flag = True )
1669
- @click .pass_context
1670
1671
def artifact_list (
1671
1672
ctx ,
1672
- format_ : str ,
1673
+ table_format : str | None ,
1673
1674
enumerate_ : bool ,
1674
1675
original_path : bool ,
1675
1676
storage : bool ,
@@ -1710,7 +1711,7 @@ def artifact_list(
1710
1711
storages ,
1711
1712
plain_text = ctx .obj ["plain" ],
1712
1713
enumerate_ = enumerate_ ,
1713
- format = format ,
1714
+ format = table_format ,
1714
1715
)
1715
1716
click .echo (table )
1716
1717
0 commit comments