Add configuration file support to llm-commit-gen #4
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#4
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?
Note: Copy of issue from upstream project: https://github.com/GNtousakis/llm-commit/issues/11
Summary
Introduce support for configuration files in
llm-commit
to allow users to define default settings such as commit message schemes and default hints.Expected Benefits :
Problem
Currently, all configuration options for
llm-commit
(e.g., message schemes, hints) must be specified via command-line arguments. This requires users to repeatedly provide the same options, which can be tedious and error-prone, especially in larger projects or across multiple repositories.Proposed solution
Implement a configuration file system with support for:
/etc/llm-commit/config.yml
$HOME/.config/llm-commit/config.yml
.git
)-c FILE
or--config FILE
Configuration options supported:
default
,semantic
,conventional
, etc.)Priority rule:
Command-line > Per-project config > User-global config > System-global config
Example usage:
Possible considerations
Note: for consistency with configuration file, perhaps it would be worth introducing
-f
--format
(ex:--format semantic
) (and make--semantic
and--conventional
aliases of the new command, or remove them).Add configuration file support to llm-committo [feature] Add configuration file support to llm-commit[feature] Add configuration file support to llm-committo Add configuration file support to llm-commit-gen