Skip to content

feat: add help center commands#15

Merged
scmmishra merged 2 commits into
mainfrom
feat/hc
May 25, 2026
Merged

feat: add help center commands#15
scmmishra merged 2 commits into
mainfrom
feat/hc

Conversation

@scmmishra

@scmmishra scmmishra commented May 25, 2026

Copy link
Copy Markdown
Member

Summary

  • add help center listing, article search/listing, and article fetch commands
  • add a default help center config with portal and locale resolution
  • document the new help center workflow

@scmmishra

Copy link
Copy Markdown
Member Author

@codex please review

@github-actions

Copy link
Copy Markdown

⚠️ Note: Baseline coverage from main branch is not available (artifact may be expired). Showing current coverage for changed files only.

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/chatwoot/cli/internal/cmd 40.18% (+40.18%) 🌟
github.com/chatwoot/cli/internal/config 73.56% (+73.56%) 🌟
github.com/chatwoot/cli/internal/sdk 56.25% (+56.25%) 🌟

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/chatwoot/cli/internal/cmd/cli.go 0.00% (ø) 0 0 0
github.com/chatwoot/cli/internal/cmd/help_center.go 74.78% (+74.78%) 115 (+115) 86 (+86) 29 (+29) 🌟
github.com/chatwoot/cli/internal/config/config.go 64.10% (+64.10%) 39 (+39) 25 (+25) 14 (+14) 🌟
github.com/chatwoot/cli/internal/sdk/client.go 60.47% (+60.47%) 129 (+129) 78 (+78) 51 (+51) 🌟
github.com/chatwoot/cli/internal/sdk/help_center.go 77.78% (+77.78%) 36 (+36) 28 (+28) 8 (+8) 🌟

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/chatwoot/cli/internal/cmd/help_center_test.go
  • github.com/chatwoot/cli/internal/config/config_test.go
  • github.com/chatwoot/cli/internal/sdk/help_center_test.go

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@scmmishra scmmishra merged commit 710c453 into main May 25, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant