From d2c8f43e619f6f284f025fad5cc0624059409228 Mon Sep 17 00:00:00 2001 From: Jiri Otoupal Date: Wed, 24 Apr 2024 21:25:18 +0200 Subject: [PATCH] fun art --- abst/__version__.py | 11 ++++++++++- abst/main.py | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/abst/__version__.py b/abst/__version__.py index 6cb252c..09a10ad 100644 --- a/abst/__version__.py +++ b/abst/__version__.py @@ -10,13 +10,22 @@ "CLI Command making OCI Bastion and kubernetes usage simple and fast" ) -__version__ = "2.3.55" +__version__ = "2.3.56" __author__ = "Jiri Otoupal" __author_email__ = "jiri-otoupal@ips-database.eu" __license__ = "MIT" __url__ = "https://github.com/jiri-otoupal/abst" __pypi_repo__ = "https://pypi.org/project/abst/" +__ascii_art__ = r""" .--. + |o_o | + |:_/ | + // \ \ +(| | ) +/'\_ _/`\ +\___)=(___/ +""" + __version_name__ = "SSHed Penguin" __change_log__ = """ * 'abst ssh' will show screen with available instances for ssh from all abst processes\n diff --git a/abst/main.py b/abst/main.py index 63fd330..6090ce6 100644 --- a/abst/main.py +++ b/abst/main.py @@ -8,7 +8,7 @@ from InquirerPy import inquirer from requests import ConnectTimeout -from abst.__version__ import __version_name__, __version__, __change_log__, __author__ +from abst.__version__ import __version_name__, __version__, __change_log__, __author__, __ascii_art__ from abst.bastion_support.bastion_scheduler import BastionScheduler from abst.bastion_support.oci_bastion import Bastion from abst.cli_commands.context.commands import context, ctx @@ -24,7 +24,7 @@ @click.group() -@click.version_option(f"{__version__} {__version_name__} @ {__author__}") +@click.version_option(f"\n{__ascii_art__}\n{__version__} {__version_name__} @ {__author__}") def cli(): pass