gh-velocity flow lead-time#

Lead time for an issue or bulk query (created → closed)

Synopsis#

Lead time measures the elapsed time from issue creation to close.

Single mode: gh velocity lead-time 42 Bulk mode: gh velocity lead-time --since 30d [--until 2026-03-01]

In bulk mode, returns per-item rows plus aggregate statistics for all issues closed in the given date window.

gh-velocity flow lead-time [<issue>] [flags]

Examples#

  # Single issue
  gh velocity flow lead-time 42
  gh velocity flow lead-time 42 -R cli/cli

  # All issues closed in the last 30 days
  gh velocity flow lead-time --since 30d

  # Custom window, JSON output
  gh velocity flow lead-time --since 2026-01-01 --until 2026-02-01 -f json

Options#

  -h, --help           help for lead-time
      --since string   Start of date window (YYYY-MM-DD, RFC3339, or Nd relative)
      --until string   End of date window (default: now)

Options inherited from parent commands#

      --config string   Path to config file (default: .gh-velocity.yml)
      --debug           Print diagnostic info to stderr
  -f, --format string   Output format: json, pretty, markdown (default "pretty")
      --new-post        Force a new post (skip idempotent update; implies --post)
      --post            Post output to GitHub (dry-run by default; set GH_VELOCITY_POST_LIVE=true for live)
  -R, --repo string     Repository in owner/name format
      --scope string    Additional GitHub search qualifier(s) ANDed with config scope

SEE ALSO#