remove the need to setup .env and ask for porkbun credential name directly

This commit is contained in:
juancwu 2026-01-21 19:18:47 +00:00
commit ec94e6ad46
7 changed files with 164 additions and 47 deletions

View file

@ -5,14 +5,11 @@ import (
"os"
"git.juancwu.dev/juancwu/porkbacon/internal/app"
"git.juancwu.dev/juancwu/porkbacon/internal/config"
tea "github.com/charmbracelet/bubbletea"
)
func main() {
cfg := config.Load()
a := app.New(cfg)
a := app.New()
p := tea.NewProgram(a)
if _, err := p.Run(); err != nil {