Skip to content

CLI Reference

Complete reference for all Gira commands and options.

Table of Contents

Other Commands

Global Options

These options can be used with any command:

  • --help - Show help message and exit
  • --version - Show version number and exit

Commands

gira hooks install

Install Git hooks for Gira integration.

gira hooks install [options]

Options:

  • -h, --hook - Specific hooks to install (can be used multiple times). If not specified, installs all available hooks.
  • Type: array
  • Default:

  • -f, --force - Overwrite existing hooks without prompting

  • Type: boolean

  • --dry-run - Show what would be installed without actually installing

  • Type: boolean

Examples:

gira hooks install
gira hooks install --force

gira hooks uninstall

Uninstall Git hooks for Gira integration.

gira hooks uninstall [options]

Options:

  • -h, --hook - Specific hooks to uninstall (can be used multiple times). If not specified, uninstalls all Gira hooks.
  • Type: array
  • Default:

  • -f, --force - Remove hooks without prompting

  • Type: boolean

Examples:

gira hooks uninstall
gira hooks uninstall --force

gira hooks status

Show the status of Git hooks for Gira integration.

gira hooks status

Examples:

gira hooks status