axm hooks import
Import a native command bundle as an inactive hook extension; original registrations remain
Usage
Section titled Usageaxm hooks import <directory> <extension> [flags]Arguments
Section titled Arguments| Name | Type | Required | Default | Description |
|---|---|---|---|---|
<directory> | string | Yes | Native bundle directory | |
<extension> | string | Yes | New managed hook extension FQN |
Flags
Section titled Flags| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--protocol | choice (augment, claude-code, codebuddy, codex, cursor, devin, gemini-cli, qoder, qwen-code) | Yes | Native protocol of the source definitions | |
--file | string | No | hooks.json | JSON file relative to <directory> |
--resource | string | No | Additional package-relative resource file | |
--preview | boolean | No | false | Show what would change without applying it |
Examples
Section titled ExamplesPreview a nonexecuting native bundle import
axm hooks import --protocol claude-code --preview ./native-hooks @me/hooks/audit