hk migrate
- Usage:
hk migrate <SUBCOMMAND> - Effect: read-only
Migrate from other hook managers to hk
Flags
-h --help— Print help
Subcommands
Examples
Convert a pre-commit configuration, then review the generated file and tool requirements.
sh
hk migrate pre-commit --output hk.migrated.pkl
HK_FILE=./hk.migrated.pkl hk validate