Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
noppaz committed Dec 30, 2023
1 parent 840c8da commit f7d4f24
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# collie

A parquet file CLI explorer with TUI elements.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ replace github.com/noppaz/collie => ./

require (
github.com/apache/arrow/go/parquet v0.0.0-20211112161151-bc219186db40
github.com/charmbracelet/bubbles v0.17.1
github.com/charmbracelet/bubbletea v0.25.0
github.com/charmbracelet/lipgloss v0.9.1
github.com/spf13/cobra v1.8.0
Expand All @@ -17,7 +18,6 @@ require (
github.com/apache/arrow/go/arrow v0.0.0-20211112161151-bc219186db40 // indirect
github.com/apache/thrift v0.19.0 // indirect
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
github.com/charmbracelet/bubbles v0.17.1
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/flatbuffers v23.5.26+incompatible // indirect
Expand Down
5 changes: 2 additions & 3 deletions internal/visualize/visualize.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

const (
orange = lipgloss.Color("#db592a")
orange = lipgloss.Color("#E69945")
)

func lipglossTable(headers []string, rows [][]string) *table.Table {
Expand All @@ -26,8 +26,7 @@ func lipglossTable(headers []string, rows [][]string) *table.Table {

re := lipgloss.NewRenderer(os.Stdout)
headerStyle := re.NewStyle().Foreground(orange).Bold(true).Align(lipgloss.Center)
cellStyle := re.NewStyle().Padding(0, 1).Width(20)
rowStyle := cellStyle.Copy()
rowStyle := re.NewStyle().Padding(0, 1)
borderStyle := lipgloss.NewStyle().Foreground(orange)

t := table.New().
Expand Down

0 comments on commit f7d4f24

Please sign in to comment.