release 0.3.0
This commit is contained in:
parent
10f7f61cec
commit
2f049f1f99
3 changed files with 3 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
__version__ = "0.3.0"
|
||||
__version__ = "0.3.0b0"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ dependencies = [
|
|||
"jinja2",
|
||||
"iterfzf",
|
||||
"pydantic",
|
||||
"more-itertools",
|
||||
]
|
||||
|
||||
[[project.authors]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue