Skip to content

Commit

Permalink
small grouping fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlntv committed Dec 3, 2024
1 parent e8b08ec commit 8bcb751
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions anvil-python/anvil/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ def format_commands(
"Prepare, create and manage a cluster",
[
("prepare-node-script", None),
("cluster", lambda cmd: cmd.name != "list"),
(
"cluster",
lambda cmd: cmd.name not in ["list", "refresh"],
),
],
),
(
Expand All @@ -95,7 +98,7 @@ def format_commands(
],
),
(
"Manage and debug the cluster",
"Debug the cluster",
[
("cluster", lambda cmd: cmd.name == "list"),
("inspect", None),
Expand Down

0 comments on commit 8bcb751

Please sign in to comment.