This topic tells you how to use the Tanzu Insight CLI tanzu insight source packages
command to get the source packages.
Get source packages
tanzu insight source packages [--commit <commit-hash>] [--repo <repository-name>] [flags]
insight sources packages --commit 0b1b659907 --repo example-repo
insight sources packages --commit 0b1b659907 --repo example-repo --output-format api-json
-c, --commit string commit hash
-h, --help help for packages
--output-format string specify the response's SBOM report format and file type format, options=[text, api-json] (default: text)
-r, --repo string repository name