mirror of
https://github.com/charmbracelet/gum
synced 2024-06-16 12:35:06 +02:00
8 lines
244 B
Bash
8 lines
244 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# Building a simple `skate` TUI with gum to allow you to select a database and
|
||
|
# pick a value from skate.
|
||
|
|
||
|
DATABASE=$(skate list-dbs | gum choose)
|
||
|
skate list --keys-only "$DATABASE" | gum filter | xargs -I {} skate get {}"$DATABASE"
|