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(
|
selected = iterfzf.iterfzf(
|
||||||
formatted_items,
|
formatted_items,
|
||||||
prompt="Select a pod to clone:",
|
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:
|
if not selected:
|
||||||
return None, None
|
return None, None
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ dependencies = [
|
||||||
"jinja2",
|
"jinja2",
|
||||||
"iterfzf",
|
"iterfzf",
|
||||||
"pydantic",
|
"pydantic",
|
||||||
|
"more-itertools",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[project.authors]]
|
[[project.authors]]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue