Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ Interactive TUI and CLI for [Chatwoot](https://www.chatwoot.com) — manage conv
## Install

```bash
go install github.com/chatwoot/chatwoot-cli/cmd/chatwoot@latest
go install github.com/chatwoot/cli/cmd/chatwoot@latest
```

Or build from source:

```bash
git clone https://github.com/chatwoot/chatwoot-cli.git
cd chatwoot-cli
git clone https://github.com/chatwoot/cli.git
cd cli
go build -o chatwoot ./cmd/chatwoot/
```

Expand Down
8 changes: 4 additions & 4 deletions cmd/chatwoot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"strings"

"github.com/alecthomas/kong"
"github.com/chatwoot/chatwoot-cli/internal/cmd"
"github.com/chatwoot/chatwoot-cli/internal/config"
"github.com/chatwoot/chatwoot-cli/internal/sdk"
"github.com/chatwoot/chatwoot-cli/internal/tui"
"github.com/chatwoot/cli/internal/cmd"
"github.com/chatwoot/cli/internal/config"
"github.com/chatwoot/cli/internal/sdk"
"github.com/chatwoot/cli/internal/tui"
"github.com/willabides/kongplete"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/chatwoot/chatwoot-cli
module github.com/chatwoot/cli

go 1.24.2

Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package cmd
import (
"fmt"

"github.com/chatwoot/chatwoot-cli/internal/config"
"github.com/chatwoot/chatwoot-cli/internal/output"
"github.com/chatwoot/chatwoot-cli/internal/sdk"
"github.com/chatwoot/cli/internal/config"
"github.com/chatwoot/cli/internal/output"
"github.com/chatwoot/cli/internal/sdk"
)

// App holds shared state passed to every command's Run method.
Expand Down
6 changes: 3 additions & 3 deletions internal/cmd/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"strconv"
"strings"

"github.com/chatwoot/chatwoot-cli/internal/config"
"github.com/chatwoot/chatwoot-cli/internal/output"
"github.com/chatwoot/chatwoot-cli/internal/sdk"
"github.com/chatwoot/cli/internal/config"
"github.com/chatwoot/cli/internal/output"
"github.com/chatwoot/cli/internal/sdk"
)

type AuthCmd struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"strings"

"github.com/chatwoot/chatwoot-cli/internal/config"
"github.com/chatwoot/chatwoot-cli/internal/output"
"github.com/chatwoot/cli/internal/config"
"github.com/chatwoot/cli/internal/output"
)

type ConfigCmd struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/cmd/contact.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"strconv"

"github.com/chatwoot/chatwoot-cli/internal/output"
"github.com/chatwoot/chatwoot-cli/internal/sdk"
"github.com/chatwoot/cli/internal/output"
"github.com/chatwoot/cli/internal/sdk"
)

type ContactCmd struct {
Expand Down
4 changes: 2 additions & 2 deletions internal/cmd/conversation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"strconv"
"time"

"github.com/chatwoot/chatwoot-cli/internal/output"
"github.com/chatwoot/chatwoot-cli/internal/sdk"
"github.com/chatwoot/cli/internal/output"
"github.com/chatwoot/cli/internal/sdk"
)

type ConversationCmd struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/inbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strconv"

"github.com/chatwoot/chatwoot-cli/internal/output"
"github.com/chatwoot/cli/internal/output"
)

type InboxCmd struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"strconv"

"github.com/chatwoot/chatwoot-cli/internal/output"
"github.com/chatwoot/cli/internal/output"
)

type ProfileCmd struct{}
Expand Down
2 changes: 1 addition & 1 deletion internal/tui/conversations.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/charmbracelet/bubbles/textinput"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"github.com/chatwoot/chatwoot-cli/internal/sdk"
"github.com/chatwoot/cli/internal/sdk"
"github.com/sahilm/fuzzy"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/tui/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"time"

tea "github.com/charmbracelet/bubbletea"
"github.com/chatwoot/chatwoot-cli/internal/sdk"
"github.com/chatwoot/cli/internal/sdk"
)

// Messages returned by async fetches
Expand Down
2 changes: 1 addition & 1 deletion internal/tui/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/charmbracelet/glamour/ansi"
"github.com/charmbracelet/glamour/styles"
"github.com/charmbracelet/lipgloss"
"github.com/chatwoot/chatwoot-cli/internal/sdk"
"github.com/chatwoot/cli/internal/sdk"
"github.com/muesli/termenv"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/tui/reply.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/charmbracelet/bubbles/textarea"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"github.com/chatwoot/chatwoot-cli/internal/sdk"
"github.com/chatwoot/cli/internal/sdk"
)

// mentionItem is a unified type for the mention picker (agents + teams).
Expand Down
2 changes: 1 addition & 1 deletion internal/tui/tui.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/charmbracelet/bubbles/spinner"
tea "github.com/charmbracelet/bubbletea"
"github.com/charmbracelet/lipgloss"
"github.com/chatwoot/chatwoot-cli/internal/sdk"
"github.com/chatwoot/cli/internal/sdk"
)

type Model struct {
Expand Down