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=false
Having commit-check.toml file in every git repository with one parameter seems cumbersome:
[commit]
subject_imperative = true
Thanks 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 maybe COMMIT_CHECK_SUBJECT_IMPERATIVE=true)
Additional context
No response
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:
Having
commit-check.tomlfile in every git repository with one parameter seems cumbersome:Thanks for considering it...
Describe the solution you'd like
commit-checkshould support command line parameters (and environment variables) like:--subject-imperative=falseCCHK_SUBJECT_IMPERATIVE=true(or maybeCOMMIT_CHECK_SUBJECT_IMPERATIVE=true)Additional context
No response