Skip to content

Install many hooks types by one command #1139

@MaxymVlasov

Description

@MaxymVlasov

Now I should run next in every new repo:

$ pre-commit install-hooks
$ pre-commit install --install-hooks --hook-type commit-msg

Maybe can be more pretty have something like

$ pre-commit install --install-hooks --all
# OR
$ pre-commit install --install-hooks --hook-type pre-commit,commit-msg

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions