grokkit/cmd
Gregory Gauthier 403a408f8d
All checks were successful
CI / Test (pull_request) Successful in 44s
CI / Lint (pull_request) Successful in 27s
CI / Build (pull_request) Successful in 20s
refactor(cmd): make git diff mockable in pr-describe command and tests
- Introduce `gitDiff` variable as a mockable wrapper for `git.Diff`.
- Update tests to use `withMockGitDiff` for injecting diff mocks.
- Minor flag description tweak for clarity.
2026-03-31 10:54:37 +01:00
..
agent_test.go chore(build): add Makefile and tests for commands and utilities 2026-03-01 00:24:48 +00:00
agent.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
analyze.go refactor(cmd): clean up analyze and edit commands 2026-03-30 12:28:19 +01:00
changelog_test.go test: add tests for recipe package and disable parallelism in cmd tests 2026-03-08 12:53:01 +00:00
changelog.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
chat_test.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
chat.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
client.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
commit_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
commit.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
commitmsg.go refactor(cmd): extract run funcs and add injectable deps for testability 2026-03-02 20:47:16 +00:00
completion_test.go test(cmd): improve error handling in completion test writer close 2026-03-02 22:19:47 +00:00
completion.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
docs_test.go refactor(tests): improve error handling and defer usage 2026-03-02 21:33:11 +00:00
docs.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
edit_helper_test.go test: add unit tests for chat history, edit helper, and code cleaning 2026-03-01 12:44:20 +00:00
edit_test.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
edit.go chore(edit): add missing newline at end of file 2026-03-30 14:01:17 +01:00
history_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
history.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
lint_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
lint.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
prdescribe_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
prdescribe.go refactor(cmd): make git diff mockable in pr-describe command and tests 2026-03-31 10:54:37 +01:00
query.go refactor(cmd): remove root command addition from query init 2026-03-07 21:17:10 +00:00
recipe.go refactor(cmd): improve boolean param handling and refine project root detection 2026-03-06 23:42:56 +00:00
review_test.go feat(cmd): add AI documentation generation and command tests 2026-03-02 20:13:50 +00:00
review.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
root_test.go test: add tests for recipe package and disable parallelism in cmd tests 2026-03-08 12:53:01 +00:00
root.go feat(analyze): implement educational project analysis with language prompts 2026-03-28 12:36:06 +00:00
run_test.go refactor(cmd): make git diff mockable in pr-describe command and tests 2026-03-31 10:54:37 +01:00
scaffold_test.go test: add tests for recipe package and disable parallelism in cmd tests 2026-03-08 12:53:01 +00:00
scaffold.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
testgen_test.go chore(lint): enhance golangci configuration and add security annotations 2026-03-04 20:00:32 +00:00
testgen.go fix(testgen): distinguish between C and C++ based on file extension 2026-03-06 14:36:49 +00:00