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 export json

Export tickets to JSON format

gira export json [options]

Options:

  • -o, --output - Output file path. If not specified, outputs to stdout
  • Choices: text, json, table, csv
  • Default:
  • Examples: json, table

  • --include-archived - Include archived tickets in the export

  • Type: boolean

  • --pretty - Pretty-print JSON output with indentation

  • Type: boolean

  • --fields - Comma-separated list of fields to include (default: all fields)

  • Default:

Examples:

gira export json
gira export json --include-archived

gira export csv

Export tickets to CSV format

gira export csv [options]

Options:

  • -o, --output - Output file path. If not specified, outputs to stdout
  • Choices: text, json, table, csv
  • Default:
  • Examples: json, table

  • --include-archived - Include archived tickets in the export

  • Type: boolean

  • --fields - Comma-separated list of fields to include (default: common fields)

  • Default:

  • --delimiter - Field delimiter character (default: comma)

  • Default: ,

  • --quote-all - Quote all fields, not just those containing special characters

  • Type: boolean

Examples:

gira export csv
gira export csv --include-archived

gira export md

Export tickets to Markdown format

gira export md [options]

Options:

  • -o, --output - Output file path. If not specified, outputs to stdout
  • Choices: text, json, table, csv
  • Default:
  • Examples: json, table

  • --include-archived - Include archived tickets in the export

  • Type: boolean

  • --fields - Comma-separated list of fields to include (default: common fields)

  • Default:

Examples:

gira export md
gira export md --include-archived