Add commit style configuration via environment variable #13
Labels
No labels
Compat
Breaking
Kind
Bug
Kind
Chore
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Topic/Security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: glenux/llm-commit-gen#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request introduces the ability to set a default commit style for
llm commit
commands using theLLM_COMMIT_STYLE
environment variable.Users can now enforce either a "semantic" or "conventional" commit style by default. Furthermore, this setting can be overridden via the command-line flags
--semantic
or--conventional
, ensuring flexibility.In addition, tests have been added to verify the functionality of the environment variable setting and its precedence over command-line arguments.
Documentation in the
README.md
has been updated accordingly to reflect these new options.Fixed by
42f65aa3a1