-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
What's the problem this feature will solve?
I would like to use + configure the commit-check as part of pre-commit hook without using the config file (commit-check.toml).
In pre-commit hooks you can usually specify the CLI arguments like:
repos:
- repo: https://github.com/commit-check/commit-check
rev: v2.1.2
hooks:
- id: commit-check
args:
- --subject-imperative=falseHaving commit-check.toml file in every git repository with one parameter seems cumbersome:
[commit]
subject_imperative = trueThanks for considering it...
Describe the solution you'd like
commit-check should support command line parameters (and environment variables) like:
- CLI parameters:
--subject-imperative=false - Env variables:
CCHK_SUBJECT_IMPERATIVE=true(or maybeCOMMIT_CHECK_SUBJECT_IMPERATIVE=true)
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request