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 cache clear

Clear cached data.

gira cache clear [options]

Options:

  • --all - Clear all caches including git and blame caches
  • Type: boolean

  • --git - Clear only git-related cache

  • Type: boolean

  • --blame - Clear only blame-related cache

  • Type: boolean

  • --tickets - Clear only ticket-related cache

  • Type: boolean

  • --metrics - Clear only metrics cache

  • Type: boolean

  • --ticket-id - Clear cache for a specific ticket

  • Default:
  • Pattern: ^[A-Z]{2,4}-\d+$
  • Examples: GIRA-123, GCM-456, PROJ-1

Examples:

gira cache clear
gira cache clear --all

gira cache status

Show cache statistics.

gira cache status

Examples:

gira cache status