summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-11-24 02:08:56 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-11-24 02:08:56 -0500
commit4297cde9a75ae43affa00d6dd5fed437b8de2a80 (patch)
treec354df8fd3dccdb8a7e30bc43337ab59ad2e546c /cmd
parentc8bcf5289f1b6c364f6f0237b1bf4ccad4e1dcd2 (diff)
Rename go module and update Go version
Diffstat (limited to 'cmd')
-rw-r--r--cmd/termpicker/main.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/cmd/termpicker/main.go b/cmd/termpicker/main.go
index a6694d4..0ebbadb 100644
--- a/cmd/termpicker/main.go
+++ b/cmd/termpicker/main.go
@@ -4,16 +4,17 @@ import (
"log/slog"
"os"
+ "github.com/ChausseBenjamin/termpicker/internal/picker"
+ "github.com/ChausseBenjamin/termpicker/internal/slider"
+ "github.com/ChausseBenjamin/termpicker/internal/switcher"
+ "github.com/ChausseBenjamin/termpicker/internal/util"
"github.com/charmbracelet/bubbles/progress"
tea "github.com/charmbracelet/bubbletea"
- "github.com/charmbracelet/bubbletea-app-template/internal/picker"
- "github.com/charmbracelet/bubbletea-app-template/internal/slider"
- "github.com/charmbracelet/bubbletea-app-template/internal/switcher"
- "github.com/charmbracelet/bubbletea-app-template/internal/util"
"github.com/urfave/cli/v2"
)
func AppAction(ctx *cli.Context) error {
+ slog.Info("Starting Termpicker")
// RGB {{{
r := slider.New('R', 255, progress.WithGradient("#660000", "#ff0000"))
g := slider.New('G', 255, progress.WithGradient("#006600", "#00ff00"))