Skip to content

how do you config hanzo so that it automatically create hook sample #2

@smitthakkar1

Description

@smitthakkar1

So I have configured hanzo in my project, it works well. The only problem I am having is whoever clone the git repo needs to run hanzo -i pre_commit -s command in order to generate sample script which points to pre_commit.dart where I have some stuff.

Is there any way I can automate this process and just run hanzo -i pre_commit -s everytime flutter pub get runs. We were using husky in typescript before which was working awesome and does this automation for you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions