CLI Reference¶
Complete reference for all Gira commands and options.
Table of Contents¶
Other Commands¶
-
gira ext disable
- Disable hook execution. -
gira ext enable
- Enable hook execution. -
gira ext init
- Initialize the hooks directory with example templates. -
gira ext install
- Install a specific hook template. -
gira ext list
- List all available hooks and their status. -
gira ext show
- Display the contents of a hook file. -
gira ext test
- Test a hook with sample data.
Global Options¶
These options can be used with any command:
--help
- Show help message and exit--version
- Show version number and exit
Commands¶
gira ext list
¶
List all available hooks and their status.
Options:
-v, --verbose
- Show detailed information about each hook- Type: boolean
Examples:
gira ext init
¶
Initialize the hooks directory with example templates.
Options:
-f, --force
- Overwrite existing hooks directory- Type: boolean
Examples:
gira ext install
¶
Install a specific hook template.
Arguments:
hook_name
- Name of the hook template to install (required)- Type: string
Options:
-f, --force
- Overwrite existing hook- Type: boolean
Examples:
gira ext test
¶
Test a hook with sample data.
Arguments:
hook_name
- Name of the hook to test (required)- Type: string
Options:
--data
- JSON string with test event data- Default:
Examples:
gira ext enable
¶
Enable hook execution.
Examples:
gira ext disable
¶
Disable hook execution.
Examples:
gira ext show
¶
Display the contents of a hook file.
Arguments:
hook_name
- Name of the hook to display (required)- Type: string
Examples: