Skip to content

Commit

Permalink
list
Browse files Browse the repository at this point in the history
  • Loading branch information
jiri_otoupal authored and jiri_otoupal committed Nov 21, 2023
1 parent 9223097 commit cff15b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion abst/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"CLI Command making OCI Bastion and kubernetes usage simple and fast"
)

__version__ = "2.3.11"
__version__ = "2.3.12"
__author__ = "Jiri Otoupal"
__author_email__ = "jiri-otoupal@ips-database.eu"
__license__ = "MIT"
Expand Down
6 changes: 5 additions & 1 deletion abst/cli_commands/parallel/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ def _list(debug):
for _set in default_parallel_sets_location.iterdir():
if _set.name.startswith("."):
continue
rich.print(f" {_set.name} Contexts: {[con.name.replace('.json', '') for con in _set.iterdir()]}")
rich.print(f" {_set.name}")
for ctx in _set.iterdir():
if ctx.name.startswith("."):
continue
rich.print(f" {ctx.name.replace('.json', '')}")


@parallel.command("remove", help="Remove Bastion from stack (Can not remove sets)")
Expand Down

0 comments on commit cff15b0

Please sign in to comment.