Skip to content

polygraph repo

Repository management

Terminal window
polygraph repo
FlagTypeDefaultDescription
--help, -hbooleanShow help for the current command
--versionbooleanShow the version number for the CLI

List candidate repos in current org

Terminal window
polygraph repo list
FlagTypeDefaultDescription
--help, -hbooleanShow help for the current command
--versionbooleanShow the version number for the CLI
--filterobjectFilter repositories under a single object option
--filter.namestringMatch repository name or full name using substring, glob, or CSV patterns. Quote globs, for example 'nrwl/*'. Supports @current.
--filter.connectedTostringMatch repos connected via the dependency graph to the given repo. Accepts a repo ID, name (e.g. 'ocean'), or full name (e.g. 'nrwl/ocean'). Errors if the value matches more than one repo. Supports @current.
--filter.publishedPackagesstringMatch repos publishing packages whose name fuzzy-matches the value. CSV for multiple values.
--filter.consumedPackagesstringMatch repos consuming packages whose name fuzzy-matches the value. CSV for multiple values.
--filter.publishedApisstringMatch repos publishing APIs whose path fuzzy-matches the value. CSV for multiple values.
--filter.consumedApisstringMatch repos consuming APIs whose path fuzzy-matches the value. CSV for multiple values.

Show details of a single repo

Terminal window
polygraph repo show [repo]
NameTypeDescription
repostringRepository (ID, full name, or short name)
FlagTypeDefaultDescription
--help, -hbooleanShow help for the current command
--versionbooleanShow the version number for the CLI
--webbooleanfalseOpen the repository in the browser