gh-deps-kit

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 1 Imported by: 0

README

gh-deps-kit

A tool to manage GitHub Dependency graph.

Installation

To install the tool, you can use the following command:

gh extension install srz-zumix/gh-deps-kit

Shell Completion

Workaround Available! While gh CLI doesn't natively support extension completion, we provide a patch script that enables it.

Prerequisites: Before setting up gh-deps-kit completion, ensure gh CLI completion is configured for your shell. See gh completion documentation for setup instructions.

For detailed installation instructions and setup for each shell, see the Shell Completion Guide.

Commands

List dependency packages
gh deps-kit list [flags]

List dependency packages in the repository's SBOM.

Flags:

Flag Short Default Description
--ecosystem -e "" The ecosystem of the dependencies
--format Output format: {json}
--jq -q Filter JSON output using a jq expression
--name-only false Output only team names
--repo -R "" The repository in the format 'owner/repo'
--template -t Format JSON output using a Go template; see "gh help formatting"
Actions
Graph actions dependency
gh deps-kit actions graph [flags]

Output dependency relationships of GitHub Actions as a Mermaid flowchart. Use --recursive to traverse referenced action repositories.

Flags:

Flag Short Default Description
--format "mermaid" Output format: {json|mermaid|markdown}
--jq -q Filter JSON output using a jq expression
--output -o Output file path (default: stdout)
--recursive -r false Recursively traverse referenced action repositories
--repo -R "" The repository in the format 'owner/repo'
--template -t Format JSON output using a Go template; see "gh help formatting"
List actions dependency packages
gh deps-kit actions list [flags]

List dependency packages related to GitHub Actions in the repository's SBOM. Use --recursive to traverse referenced action repositories.

Flags:

Flag Short Default Description
--format Output format: {json}
--jq -q Filter JSON output using a jq expression
--name-only false Output only team names
--recursive -r false Recursively traverse referenced action repositories
--repo -R "" The repository in the format 'owner/repo'
--template -t Format JSON output using a Go template; see "gh help formatting"
Submodule
List repository submodules
gh deps-kit submodule list [flags]

List submodules of the specified repository. Use --recursive to include nested submodules.

Flags:

Flag Short Default Description
--format Output format: {json}
--jq -q Filter JSON output using a jq expression
--name-only false Output only submodule names
--recursive -r false Recursively list nested submodules
--repo -R "" The repository in the format 'owner/repo'
--template -t Format JSON output using a Go template; see "gh help formatting"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL