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
18 changes: 18 additions & 0 deletions cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,21 @@ chatwoot convs --help
```

Issues and feedback: [github.com/chatwoot/cli](https://github.com/chatwoot/cli).

## Uninstalling

```bash
chatwoot auth logout # remove API key from the OS keyring
rm -rf ~/.chatwoot # delete config (~/.chatwoot/config.yaml)
rm "$(command -v chatwoot)" # delete the binary
```

If you set up shell completions, also remove them:

```bash
rm -f ~/.local/share/bash-completion/completions/chatwoot # bash
rm -f ~/.config/fish/completions/chatwoot.fish # fish
# zsh: delete the `source <(... completion zsh -c)` line from ~/.zshrc
```

On Windows, delete the extracted `chatwoot.exe` and the `%USERPROFILE%\.chatwoot` folder. If `CHATWOOT_API_KEY` is set in your environment, unset it in your shell rc — `auth logout` can't remove env-provided credentials.
14 changes: 14 additions & 0 deletions cli/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ chatwoot conv 123 label billing,urgent # sets labels (replaces existing)
chatwoot conv 123 priority urgent # urgent | high | medium | low | none
```

**Contact:**

```bash
chatwoot conv 123 contact # view the contact (sender) for this conversation
Comment thread
scmmishra marked this conversation as resolved.
```

## Contacts

```bash
Expand Down Expand Up @@ -104,6 +110,14 @@ chatwoot config path # print config file path
chatwoot config view # print config and credential source
```

## Version

```bash
chatwoot version # print the CLI version
chatwoot version --check # check GitHub for a newer release
chatwoot --version # same as `version`, as a flag
```

## Global flags

| Flag | Short | Description |
Expand Down
Loading