CLI: Interactive file selection for AI suggestions and i18n stats enhancement#87
Merged
thomas-vilte merged 3 commits intomasterfrom Mar 30, 2026
Merged
CLI: Interactive file selection for AI suggestions and i18n stats enhancement#87thomas-vilte merged 3 commits intomasterfrom
thomas-vilte merged 3 commits intomasterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
I implemented an interactive file selection mode for the
suggestcommand, allowing users to granularly choose which files are included in the AI-generated commit summary. I also localized thestatscommand output, including month names and currency formatting, and enhanced the GitHub client with label aliasing and deduplication logic.Key technical changes include:
PromptMultiSelectin the UI package and an--interactiveflag to the suggest command.GetDiffForFilesmethod to retrieve diffs for a specific subset of files.labelAliasesin the GitHub client to map common labels (e.g.,bugtofix) and prevent duplicates.Fixes #
Type of Change
How Has This Been Tested?
I have updated the test suite to cover the new git service methods and label validation logic.
git_service_test.go,commit_service_test.go,client_test.go, andstats_test.go.Checklist
🧪 Test Plan & Evidence
Suggested Manual Verification
go test ./...and ensure all tests pass