This is a lua module for using TUI components of charmbracelet/bubbles
local gum = require("gluagum")
-- Pass a table of options and an optional title.
local selected = gum.selectable_list({"Option A", "Option B", "Option C"}, "Choose One")
print("You selected:", selected)
-- File picker with file names.
local file = gum.filepicker({"doc.txt", "pic.png", "report.pdf"}, "Select a File")
print("You selected file:", file)
-- Progress bar starting at 0.2 (20%) with a 300ms update interval.
gum.progress(0.2, 300) -- No return value
-- Input text with a custom placeholder.
local input = gum.input_text("Your name:")
print("You entered:", input)
-- Text area with a custom placeholder.
local text = gum.text_area("Enter your multi-line text here...")
print("You entered:", text)Add a new tag and create latest tag if not exists
TAG_VERSION=$(convco version -b)
git tag -a v$TAG_VERSION -m "$MSG"
git push origin v$TAG_VERSION
git tag -f latest -m "$MSG"
git push -f origin latest
Generate changelog
convco changelog > CHANGELOG.md
git add CHANGELOG.md
git commit -m "Update CHANGELOG.md"
Refresh dependencies
go mod tidy