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 -r 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
--new-post Force a new post (skip idempotent update; implies --post)
--no-cache Disable disk cache (in-memory deduplication still active)
--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
-r, --results strings Output format(s): json, pretty, markdown, html (comma-separated) (default [pretty])
--scope string Additional GitHub search qualifier(s) ANDed with config scope
--title string Override discussion title (with --post)
--write-to string Write result files to this directory (silences stdout)SEE ALSO#
- gh-velocity config - Inspect, validate, and generate configuration