Skip to content

CLI Reference

Complete reference for all Gira commands and options.

Table of Contents

Archive Management

Global Options

These options can be used with any command:

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

Commands

gira archive restore

Restore an archived ticket back to the board.

gira archive restore <ticket_id> [options]

Arguments:

  • ticket_id - ID of the ticket to restore (required)
  • Type: string
  • Pattern: ^[A-Z]{2,4}-\d+$
  • Examples: GIRA-123, GCM-456, PROJ-1

Options:

  • -s, --status - Status to restore ticket to
  • Choices: backlog, todo, in_progress, review, done
  • Default: done
  • Examples: backlog, todo, in_progress

  • -f, --force - Skip confirmation prompt

  • Type: boolean

  • --git/--no-git - Use git operations for restoration (auto-detected if not specified)

  • Type: boolean
  • Default:

Examples:

gira archive restore GIRA-123
gira archive restore GIRA-123 --status backlog
gira archive restore GIRA-123 --force