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
--filter, -fobjectFilter repositories under a single object option
--filter.namestringRepository name or full name (e.g. 'ocean', 'nrwl/ocean'). CSV for multiple values. Supports @current.
--filter.connectedTostringRepository ID, name, or full name (e.g. 'ocean', 'nrwl/ocean'); pair with connectionType. Supports @current.
--filter.publishedPackagesstringPackage names a repo publishes. CSV for multiple values.
--filter.consumedPackagesstringPackage names a repo consumes. CSV for multiple values.
--filter.publishedApisstringAPI paths a repo serves. CSV for multiple values.
--filter.consumedApisstringAPI paths a repo consumes. CSV for multiple values.
--filter.connectionTypestringWhich connections to include relative to connectedTo: directly-upstream | directly-downstream | directly-both (default) | upstream | downstream | both.
--filter.semanticQuerystringFree-text description of the repositories you want.

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