feat(lib): Enhance CLI with interactive commit options#8
Open
feat(lib): Enhance CLI with interactive commit options#8
Conversation
This update introduces interactive options for the commit command in the CLI. Users can now choose to review the generated commit message before finalizing it. This feature allows for greater flexibility and control over commit messages, ensuring they accurately reflect the changes made. Additionally, the command now supports a dry-run option, which enables users to preview the commit message without actually committing. This enhancement improves the user experience by providing more transparency and reducing the likelihood of incorrect commits. Overall, these changes aim to streamline the commit process and empower users with better tools for managing their commit messages.
This commit removes the unused `cyan` import from the `format.js` module in the CLI script. The `cyan` variable was not utilized in the code, which helps to keep the codebase clean and maintainable. By eliminating unnecessary imports, we reduce potential confusion for future developers and improve the overall readability of the code. This change does not affect any functionality or introduce any new features.
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.
feat(lib): Enhance CLI with interactive commit options
Summary (AI, bounded)
Changes by type
Features
5fc8521)Chore
aa1bce9)Other (unknown)
8cd3d78)Commits
aa1bce9chore(cli): Remove unused import from CLI script8cd3d78Merge branch 'main' into chore/upgrade-dx-multi-llm-support5fc8521feat(lib): Enhance CLI with interactive commit optionsFiles changed
M.env.exampleMbin/cli.jsAlib/core/format.jsMlib/core/generate.jsAlib/core/interactive.jsMlib/core/openai.jsAlib/providers/anthropic.jsAlib/providers/azure-openai.jsAlib/providers/base.jsAlib/providers/index.jsAlib/providers/ollama.jsAlib/providers/openai.jsMpackage.jsonMpnpm-lock.yamlMtools/lib/pr-ai.jsMtools/semantic-release-notes.cjsDiff stats
Testing
Risk / Impact
Base:
main→ Head:chore/upgrade-dx-multi-llm-support