From 2f049f1f99d89eeb325c68ddf6ff12a3a10a4da8 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Thu, 17 Apr 2025 11:12:39 -0500 Subject: [PATCH] release 0.3.0 --- krayt/__about__.py | 2 +- krayt/cli/pod.py | 2 +- pyproject.toml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/krayt/__about__.py b/krayt/__about__.py index 493f741..7380a2a 100644 --- a/krayt/__about__.py +++ b/krayt/__about__.py @@ -1 +1 @@ -__version__ = "0.3.0" +__version__ = "0.3.0b0" diff --git a/krayt/cli/pod.py b/krayt/cli/pod.py index 591a98e..6cf9aa3 100644 --- a/krayt/cli/pod.py +++ b/krayt/cli/pod.py @@ -98,7 +98,7 @@ def fuzzy_select(items): selected = iterfzf.iterfzf( formatted_items, prompt="Select a pod to clone:", - preview='''kubectl describe pod "$(echo {} | awk -F'[(|)]' '{gsub(/\x1b\[[0-9;]*m/, "", $1); print $1}' | xargs)" -n "$(echo {} | awk -F'[(|)]' '{gsub(/\x1b\[[0-9;]*m/, "", $2); print $2}' | xargs)"''', + # preview='''kubectl describe pod "$(echo {} | awk -F'[(|)]' '{gsub(/\x1b\[[0-9;]*m/, "", $1); print $1}' | xargs)" -n "$(echo {} | awk -F'[(|)]' '{gsub(/\x1b\[[0-9;]*m/, "", $2); print $2}' | xargs)"''', ) if not selected: return None, None diff --git a/pyproject.toml b/pyproject.toml index c2ec4f8..5ef96cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,7 @@ dependencies = [ "jinja2", "iterfzf", "pydantic", + "more-itertools", ] [[project.authors]]