gh-velocity config discover#
Discover Projects v2 boards and fields linked to a repo
Synopsis#
Queries the GitHub API to find Projects v2 boards linked to the target repository, then lists their fields and status options.
Use this to find the project URL and status field name needed for .gh-velocity.yml configuration.
gh-velocity config discover [flags]Examples#
# Discover projects for a remote repo
gh velocity config discover -R cli/cli
# JSON output for scripting
gh velocity config discover -R owner/repo -f jsonOptions#
-h, --help help for discoverOptions 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 scopeSEE ALSO#
- gh-velocity config - Inspect, validate, and generate configuration