{"id":48517950,"url":"https://github.com/srz-zumix/gh-pkg-kit","last_synced_at":"2026-04-19T15:10:49.833Z","repository":{"id":342783694,"uuid":"1175167840","full_name":"srz-zumix/gh-pkg-kit","owner":"srz-zumix","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-04T11:11:22.000Z","size":115,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T11:38:24.746Z","etag":null,"topics":["gh-extension","github-cli-extension"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srz-zumix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"srz-zumix"}},"created_at":"2026-03-07T10:24:30.000Z","updated_at":"2026-04-01T02:07:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/srz-zumix/gh-pkg-kit","commit_stats":null,"previous_names":["srz-zumix/gh-pkg-kit"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/srz-zumix/gh-pkg-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srz-zumix%2Fgh-pkg-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srz-zumix%2Fgh-pkg-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srz-zumix%2Fgh-pkg-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srz-zumix%2Fgh-pkg-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srz-zumix","download_url":"https://codeload.github.com/srz-zumix/gh-pkg-kit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srz-zumix%2Fgh-pkg-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31575754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gh-extension","github-cli-extension"],"created_at":"2026-04-07T20:00:33.359Z","updated_at":"2026-04-19T15:10:49.801Z","avatar_url":"https://github.com/srz-zumix.png","language":"Go","funding_links":["https://github.com/sponsors/srz-zumix"],"categories":["🆕 Recently Updated"],"sub_categories":[],"readme":"# gh-pkg-kit\n\nPackage-related operations extensions for GitHub CLI.\n\n## Installation\n\n```sh\ngh extension install srz-zumix/gh-pkg-kit\n```\n\n## Shell Completion\n\n**Workaround Available!** While gh CLI doesn't natively support extension completion, we provide a patch script that enables it.\n\n**Prerequisites:** Before setting up gh-pkg-kit completion, ensure gh CLI completion is configured for your shell. See [gh completion documentation](https://cli.github.com/manual/gh_completion) for setup instructions.\n\nFor detailed installation instructions and setup for each shell, see the [Shell Completion Guide](https://github.com/srz-zumix/go-gh-extension/blob/main/docs/shell-completion.md).\n\n## Agent Skills\n\ngh-pkg-kit bundles agent skills for AI. Use the `skills` subcommand to install and manage them.\n\n```sh\ngh pkg-kit skills [subcommand] [args...]\n```\n\nFor details, see [Songmu/skillsmith](https://github.com/Songmu/skillsmith).\n\n## Configuration\n\nThis tool automatically loads a `.env` file from the current directory on startup (via [godotenv](https://github.com/joho/godotenv)).\nYou can set authentication tokens and other environment variables in a `.env` file instead of exporting them in your shell.\n\nSee [.env.example](.env.example) for available variables and usage notes.\n\n| Variable | Description |\n| ---- | ----------- |\n| `GH_TOKEN` | Token for github.com (priority: GH_TOKEN \u003e GITHUB_TOKEN \u003e `gh auth` config) |\n| `GH_ENTERPRISE_TOKEN` | Token for GitHub Enterprise Server (priority: GH_ENTERPRISE_TOKEN \u003e GITHUB_ENTERPRISE_TOKEN \u003e `gh auth` config) |\n\n\u003e **Note**: Container registries (ghcr.io / containers.\\\u003chost\\\u003e) require a classic PAT with `read:packages` / `write:packages` scope. Fine-grained tokens and OAuth App tokens may be rejected.\n\n## Usage\n\n### Global Flags\n\n| Flag | Short | Description | Default |\n| ---- | ----- | ----------- | ------- |\n| `--help` | `-h` | Help for gh-pkg-kit | |\n| `--log-level` | `-L` | Set log level: {debug\\|info\\|warn\\|error} | `info` |\n| `--read-only` | | Run in read-only mode (prevent write operations) | |\n| `--version` | `-v` | Version for gh-pkg-kit | |\n\n## container\n\n### container pull\n\n```sh\ngh pkg-kit container pull \u003cpackage-name\u003e [--owner \u003cowner\u003e] [--tag \u003ctag\u003e] [--output \u003cpath\u003e] [--dry-run]\n```\n\nPulls a container image from the GitHub Container Registry (ghcr.io) and saves it as a Docker-loadable tarball.\nThe tag defaults to `\"latest\"` if not specified.\nThe output file defaults to `\u003cpackage-name\u003e-\u003ctag\u003e.tar` in the current directory.\nThe saved tarball can be loaded with: `docker load -i \u003coutput-file\u003e`\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--dry-run` | `-n` | Show what would be pulled without performing the pull | No | `false` |\n| `--output` | | Output file path | No | `\u003cpackage-name\u003e-\u003ctag\u003e.tar` |\n| `--owner` | `-o` | [host/]owner | No | Current repository owner |\n| `--tag` | `-t` | Image tag to pull | No | `\"latest\"` |\n\n## docker\n\n### docker pull\n\n```sh\ngh pkg-kit docker pull \u003cpackage-name\u003e [--owner \u003cowner/repo\u003e] [--tag \u003ctag\u003e] [--output \u003cpath\u003e] [--dry-run]\n```\n\nPulls a docker image from the legacy Docker Package Registry (`docker.pkg.github.com`) and saves it as a Docker-loadable tarball.\nThe repository name is required in `--owner` because the legacy Docker Package Registry image path includes the owner and repository (`docker.pkg.github.com/OWNER/REPO/PACKAGE`).\nThe tag defaults to `\"latest\"` if not specified.\nThe output file defaults to `\u003cpackage-name\u003e-\u003ctag\u003e.tar` in the current directory.\nThe saved tarball can be loaded with: `docker load -i \u003coutput-file\u003e`\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--dry-run` | `-n` | Show what would be pulled without performing the pull | No | `false` |\n| `--output` | | Output file path | No | `\u003cpackage-name\u003e-\u003ctag\u003e.tar` |\n| `--owner` | `-o` | [host/]owner/repo (repository name is required) | No | Current repository |\n| `--tag` | `-t` | Image tag to pull | No | `\"latest\"` |\n\n## gem\n\n### gem download\n\n```sh\ngh pkg-kit gem download \u003cpackage-name\u003e [--owner \u003cowner\u003e] [--version \u003cversion\u003e] [--output \u003cpath\u003e]\n```\n\nDownloads a .gem file from the GitHub RubyGems registry.\nVersion defaults to the latest version if not specified.\nThe owner is resolved from the current repository if `--owner` is not specified.\nThe output file defaults to `\u003cpackage-name\u003e-\u003cversion\u003e.gem` in the current directory.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--output` | | Output file path | No | `\u003cpackage-name\u003e-\u003cversion\u003e.gem` |\n| `--owner` | `-o` | [HOST/]OWNER | No | Current repository owner |\n| `--version` | | Package version to download | No | Latest version |\n\n## maven\n\n### maven download\n\n```sh\ngh pkg-kit maven download \u003cpackage-name\u003e [--repo \u003cowner/repo\u003e] [--version \u003cversion\u003e] [--output-dir \u003cpath\u003e]\n```\n\nDownloads .pom and .jar files from the GitHub Maven registry.\nAccepts both colon-separated format (e.g. `com.example:my-artifact`) and the GitHub Packages dot-separated format (e.g. `com.example.my-artifact`).\nVersion defaults to the latest version if not specified.\nThe repository defaults to the current repository if `--repo` is not specified; the repository name must be included.\nOutput files are written to `--output-dir` (default: current directory) as `\u003cartifactId\u003e-\u003cversion\u003e.\u003cext\u003e`.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--output-dir` | `-o` | Output directory | No | Current directory |\n| `--repo` | `-R` | Repository in [host/]owner/repo format | No | Current repository |\n| `--version` | | Package version to download | No | Latest version |\n\n## migrate\n\n### migrate container\n\n```sh\ngh pkg-kit migrate container \u003cpackage-name\u003e --dst \u003cdest-owner[/repo]\u003e [--src \u003csource-owner\u003e] [flags]\n```\n\nMigrates container packages from one owner to another within GitHub Packages.\nUses the OCI Distribution API to copy image manifests and blobs, including multi-architecture images.\nThe source owner is resolved from the current repository if `--src` is not specified.\nThe source and destination owner types (organization or user) are detected automatically.\nPackage name change is not supported; the source package name is always used at destination.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--delete` | | Delete source versions after successful migration | No | `false` |\n| `--dst` | `-d` | Destination [host/]owner[/repo] | Yes | |\n| `--dst-token` | | Access token for destination owner (fallback: `$GH_DST_TOKEN`) | No | |\n| `--dry-run` | `-n` | Show what would be migrated without performing the migration | No | `false` |\n| `--latest` | `-l` | Migrate latest N versions (by creation date) | No | |\n| `--rewrite-labels` | | Rewrite OCI image config labels to reflect destination owner/host (changes image digest) | No | `false` |\n| `--since` | | Migrate versions created on or after this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--src` | `-s` | Source [host/]owner | No | Current repository owner |\n| `--src-token` | | Access token for source owner (fallback: `$GH_SRC_TOKEN`) | No | |\n| `--until` | | Migrate versions created on or before this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--version` | | Migrate specific version(s) by ID or name (can be specified multiple times) | No | All versions |\n\n### migrate docker\n\n```sh\ngh pkg-kit migrate docker \u003cpackage-name\u003e --dst \u003cdest-owner[/repo]\u003e [--src \u003csource-owner/repo\u003e] [flags]\n```\n\nMigrates docker packages from the legacy `docker.pkg.github.com` registry to `ghcr.io` within GitHub Packages.\nUses the OCI Distribution API to copy image manifests and blobs, including multi-architecture images.\nThe repository name is required in `--src` because the legacy Docker Package Registry image path includes the owner and repository (`docker.pkg.github.com/OWNER/REPO/PACKAGE`).\nThe source and destination owner types (organization or user) are detected automatically.\nPackage name change is not supported; the source package name is always used at destination.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--delete` | | Delete source versions after successful migration | No | `false` |\n| `--dst` | `-d` | Destination [host/]owner[/repo] | Yes | |\n| `--dst-token` | | Access token for destination owner (fallback: `$GH_DST_TOKEN`) | No | |\n| `--dry-run` | `-n` | Show what would be migrated without performing the migration | No | `false` |\n| `--latest` | `-l` | Migrate latest N versions (by creation date) | No | |\n| `--rewrite-labels` | | Rewrite OCI image config labels to reflect destination owner/host (changes image digest) | No | `false` |\n| `--since` | | Migrate versions created on or after this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--src` | `-s` | Source [host/]owner/repo (repository name is required) | No | Current repository |\n| `--src-token` | | Access token for source owner (fallback: `$GH_SRC_TOKEN`) | No | |\n| `--until` | | Migrate versions created on or before this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--version` | | Migrate specific version(s) by ID or name (can be specified multiple times) | No | All versions |\n\n### migrate gem\n\n```sh\ngh pkg-kit migrate gem \u003cpackage-name\u003e --dst \u003cdest-owner[/repo]\u003e [--src \u003csource-owner\u003e] [flags]\n```\n\nMigrates RubyGems packages from one owner to another within GitHub Packages.\nDownloads .gem files from the source RubyGems registry and pushes them to the destination.\nThe source owner is resolved from the current repository if `--src` is not specified.\nThe source and destination owner types (organization or user) are detected automatically.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--delete` | | Delete source versions after successful migration | No | `false` |\n| `--dst` | `-d` | Destination [host/]owner[/repo] | Yes | |\n| `--dst-token` | | Access token for destination owner (fallback: `$GH_DST_TOKEN`) | No | |\n| `--dry-run` | `-n` | Show what would be migrated without performing the migration | No | `false` |\n| `--latest` | `-l` | Migrate latest N versions (by creation date) | No | |\n| `--since` | | Migrate versions created on or after this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--src` | `-s` | Source [host/]owner | No | Current repository owner |\n| `--src-token` | | Access token for source owner (fallback: `$GH_SRC_TOKEN`) | No | |\n| `--until` | | Migrate versions created on or before this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--version` | | Migrate specific version(s) by ID or name (can be specified multiple times) | No | All versions |\n\n### migrate maven\n\n```sh\ngh pkg-kit migrate maven \u003cpackage-name\u003e --dst \u003cdest-owner[/repo]\u003e [--src \u003csource-owner/repo\u003e] [flags]\n```\n\nMigrates Maven packages from one owner to another within GitHub Packages.\nDownloads .pom and .jar files from the source Maven registry and pushes them to the destination.\nAccepts both colon-separated format (e.g. `com.example:my-artifact`) and the GitHub Packages dot-separated format (e.g. `com.example.my-artifact`).\nThe source repository is resolved from the current repository if `--src` is not specified; the repository name must be included.\nThe repository name in `--dst` is optional; if omitted, it is inferred from the source package metadata.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--delete` | | Delete source versions after successful migration | No | `false` |\n| `--dst` | `-d` | Destination [host/]owner[/repo] | Yes | |\n| `--dst-token` | | Access token for destination owner (fallback: `$GH_DST_TOKEN`) | No | |\n| `--dry-run` | `-n` | Show what would be migrated without performing the migration | No | `false` |\n| `--latest` | `-l` | Migrate latest N versions (by creation date) | No | |\n| `--overwrite` | | Overwrite existing versions at the destination (delete and re-push on 409 conflict) | No | `false` |\n| `--since` | | Migrate versions created on or after this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--src` | `-s` | Source [host/]owner/repo (repository name is required) | No | Current repository |\n| `--src-token` | | Access token for source owner (fallback: `$GH_SRC_TOKEN`) | No | |\n| `--until` | | Migrate versions created on or before this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--version` | | Migrate specific version(s) by ID or name (can be specified multiple times) | No | All versions |\n\n### migrate npm\n\n```sh\ngh pkg-kit migrate npm \u003cpackage-name\u003e --dst \u003cdest-owner[/repo]\u003e [--src \u003csource-owner\u003e] [flags]\n```\n\nMigrates npm packages from one owner to another within GitHub Packages.\nDownloads .tgz tarball files from the source npm registry and pushes them to the destination.\nThe source owner is resolved from the current repository if `--src` is not specified.\nThe source and destination owner types (organization or user) are detected automatically.\nPackage name change is not supported; the source package name is always used at destination.\nBy default, the `repository` field in `package.json` inside the tarball is rewritten to reflect the destination URL. Use `--skip-rewrite-package-json` to disable this behavior.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--delete` | | Delete source versions after successful migration | No | `false` |\n| `--dst` | `-d` | Destination [host/]owner[/repo] | Yes | |\n| `--dst-token` | | Access token for destination owner (fallback: `$GH_DST_TOKEN`) | No | |\n| `--dry-run` | `-n` | Show what would be migrated without performing the migration | No | `false` |\n| `--latest` | `-l` | Migrate latest N versions (by creation date) | No | |\n| `--overwrite` | | Overwrite existing versions at destination by deleting them before pushing | No | `false` |\n| `--since` | | Migrate versions created on or after this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--skip-rewrite-package-json` | | Skip rewriting `package.json` in the tarball | No | `false` |\n| `--src` | `-s` | Source [host/]owner | No | Current repository owner |\n| `--src-token` | | Access token for source owner (fallback: `$GH_SRC_TOKEN`) | No | |\n| `--until` | | Migrate versions created on or before this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--version` | | Migrate specific version(s) by ID or name (can be specified multiple times) | No | All versions |\n\n### migrate nuget\n\n```sh\ngh pkg-kit migrate nuget \u003cpackage-name\u003e --dst \u003cdest-owner[/repo]\u003e [--src \u003csource-owner\u003e] [flags]\n```\n\nMigrates NuGet packages from one owner to another within GitHub Packages.\nDownloads .nupkg files from the source NuGet registry and pushes them to the destination.\nThe source owner is resolved from the current repository if `--src` is not specified.\nThe source and destination owner types (organization or user) are detected automatically.\nPackage name change is not supported; the source package name is always used at destination.\nBy default, the `\u003crepository\u003e` element in `.nuspec` is rewritten to reflect the destination URL. Use `--skip-rewrite-repository` to disable this behavior.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--delete` | | Delete source versions after successful migration | No | `false` |\n| `--dst` | `-d` | Destination [host/]owner[/repo] | Yes | |\n| `--dst-token` | | Access token for destination owner (fallback: `$GH_DST_TOKEN`) | No | |\n| `--dry-run` | `-n` | Show what would be migrated without performing the migration | No | `false` |\n| `--latest` | `-l` | Migrate latest N versions (by creation date) | No | |\n| `--overwrite` | | Overwrite existing versions at the destination (delete and re-push on 409 conflict) | No | `false` |\n| `--since` | | Migrate versions created on or after this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--skip-rewrite-repository` | | Skip rewriting `\u003crepository\u003e` element in .nuspec | No | `false` |\n| `--src` | `-s` | Source [host/]owner | No | Current repository owner |\n| `--src-token` | | Access token for source owner (fallback: `$GH_SRC_TOKEN`) | No | |\n| `--until` | | Migrate versions created on or before this date (RFC3339 or YYYY-MM-DD) | No | |\n| `--version` | | Migrate specific version(s) by ID or name (can be specified multiple times) | No | All versions |\n\n## npm\n\n### npm download\n\n```sh\ngh pkg-kit npm download \u003cpackage-name\u003e [--owner \u003cowner\u003e] [--version \u003cversion\u003e] [--output \u003cpath\u003e]\n```\n\nDownloads a .tgz tarball file from the GitHub npm registry.\nVersion defaults to the latest version if not specified.\nThe owner is resolved from the current repository if `--owner` is not specified.\nThe output file defaults to `\u003cpackage-name\u003e.\u003cversion\u003e.tgz` in the current directory.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--output` | | Output file path | No | `\u003cpackage-name\u003e.\u003cversion\u003e.tgz` |\n| `--owner` | `-o` | [HOST/]OWNER | No | Current repository owner |\n| `--version` | | Package version to download | No | Latest version |\n\n## nuget\n\n### nuget download\n\n```sh\ngh pkg-kit nuget download \u003cpackage-name\u003e [--owner \u003cowner\u003e] [--version \u003cversion\u003e] [--output \u003cpath\u003e]\n```\n\nDownloads a .nupkg file from the GitHub NuGet registry.\nVersion defaults to the latest version if not specified.\nThe owner is resolved from the current repository if `--owner` is not specified.\nThe output file defaults to `\u003cpackage-name\u003e.\u003cversion\u003e.nupkg` in the current directory.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--output` | | Output file path | No | `\u003cpackage-name\u003e.\u003cversion\u003e.nupkg` |\n| `--owner` | `-o` | [HOST/]OWNER | No | Current repository owner |\n| `--version` | | Package version to download | No | Latest version |\n\n### nuget tool-restore\n\n```sh\ngh pkg-kit nuget tool-restore [--configfile \u003cpath\u003e] [--work-dir \u003cpath\u003e] [--overwrite] [-- dotnet-tool-restore-args...]\n```\n\nRuns `dotnet tool restore` after injecting GitHub Packages credentials from the gh auth token into a NuGet.Config file.\nBy default, a temporary copy of the NuGet.Config is created with credentials injected.\nWith `--overwrite`, the credentials are written directly into the existing NuGet.Config.\nExtra arguments after `--` are passed through to `dotnet tool restore`.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--configfile` | | Path to NuGet.Config (auto-detected if not specified) | No | Auto-detect |\n| `--overwrite` | | Overwrite the existing NuGet.Config with injected credentials instead of using a temporary copy | No | `false` |\n| `--work-dir` | | Working directory for temporary files | No | System temp dir (deleted on exit) |\n\n## org\n\n### org delete\n\n```sh\ngh pkg-kit org delete \u003cpackage-name\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e]\n```\n\nDeletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--owner` | `-o` | Owner name | No | Current repository owner |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### org get\n\n```sh\ngh pkg-kit org get \u003cpackage-name\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e] [--format \u003cformat\u003e] [--jq \u003cexpression\u003e] [--template \u003ctemplate\u003e]\n```\n\nGets a specific package in an organization.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--format` | | Output format: {json} | No | |\n| `--jq` | `-q` | Filter JSON output using a jq expression | No | |\n| `--owner` | `-o` | Owner name | No | Current repository owner |\n| `--template` | `-t` | Format JSON output using a Go template | No | |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### org list\n\n```sh\ngh pkg-kit org list [--type \u003ctype\u003e] [--owner \u003cowner\u003e] [--visibility \u003cvisibility\u003e] [--format \u003cformat\u003e] [--jq \u003cexpression\u003e] [--template \u003ctemplate\u003e]\n```\n\nLists packages in an organization readable by the user.\nIf `--type` is not specified, lists packages for all package types.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--format` | | Output format: {json} | No | |\n| `--jq` | `-q` | Filter JSON output using a jq expression | No | |\n| `--owner` | `-o` | Owner name | No | Current repository owner |\n| `--template` | `-t` | Format JSON output using a Go template | No | |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | No | All types |\n| `--visibility` | `-V` | Package visibility (public, private, internal) | No | |\n\n### org restore\n\n```sh\ngh pkg-kit org restore \u003cpackage-name\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e]\n```\n\nRestores an entire package in an organization.\nThe package must have been deleted within the last 30 days, and the same package namespace and version must still be available.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--owner` | `-o` | Owner name | No | Current repository owner |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### org versions delete\n\n```sh\ngh pkg-kit org versions delete \u003cpackage-name\u003e \u003cversion-id\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e]\n```\n\nDeletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--owner` | `-o` | Owner name | No | Current repository owner |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### org versions get\n\n```sh\ngh pkg-kit org versions get \u003cpackage-name\u003e \u003cversion-id\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e] [--format \u003cformat\u003e] [--jq \u003cexpression\u003e] [--template \u003ctemplate\u003e]\n```\n\nGets a specific package version in an organization.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--format` | | Output format: {json} | No | |\n| `--jq` | `-q` | Filter JSON output using a jq expression | No | |\n| `--owner` | `-o` | Owner name | No | Current repository owner |\n| `--template` | `-t` | Format JSON output using a Go template | No | |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### org versions list\n\n```sh\ngh pkg-kit org versions list \u003cpackage-name\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e] [--state \u003cstate\u003e] [--format \u003cformat\u003e] [--jq \u003cexpression\u003e] [--template \u003ctemplate\u003e]\n```\n\nLists package versions for a package owned by an organization.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--format` | | Output format: {json} | No | |\n| `--jq` | `-q` | Filter JSON output using a jq expression | No | |\n| `--owner` | `-o` | Owner name | No | Current repository owner |\n| `--state` | `-s` | Package state (active, deleted). Default: active | No | |\n| `--template` | `-t` | Format JSON output using a Go template | No | |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### org versions restore\n\n```sh\ngh pkg-kit org versions restore \u003cpackage-name\u003e \u003cversion-id\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e]\n```\n\nRestores a specific package version in an organization.\nThe package must have been deleted within the last 30 days, and the same package namespace and version must still be available.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--owner` | `-o` | Owner name | No | Current repository owner |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n## user\n\n### user delete\n\n```sh\ngh pkg-kit user delete \u003cpackage-name\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e]\n```\n\nDeletes an entire package for a user. You cannot delete a public package if any version of the package has more than 5,000 downloads.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--owner` | `-o` | Owner name | No | Authenticated user |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### user get\n\n```sh\ngh pkg-kit user get \u003cpackage-name\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e] [--format \u003cformat\u003e] [--jq \u003cexpression\u003e] [--template \u003ctemplate\u003e]\n```\n\nGets a specific package metadata for a package owned by a user.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--format` | | Output format: {json} | No | |\n| `--jq` | `-q` | Filter JSON output using a jq expression | No | |\n| `--owner` | `-o` | Owner name | No | Authenticated user |\n| `--template` | `-t` | Format JSON output using a Go template | No | |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### user list\n\n```sh\ngh pkg-kit user list [--type \u003ctype\u003e] [--owner \u003cowner\u003e] [--visibility \u003cvisibility\u003e] [--format \u003cformat\u003e] [--jq \u003cexpression\u003e] [--template \u003ctemplate\u003e]\n```\n\nLists all packages in a user's namespace for which the requesting user has access.\nIf `--type` is not specified, lists packages for all package types.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--format` | | Output format: {json} | No | |\n| `--jq` | `-q` | Filter JSON output using a jq expression | No | |\n| `--owner` | `-o` | Owner name | No | Authenticated user |\n| `--template` | `-t` | Format JSON output using a Go template | No | |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | No | All types |\n| `--visibility` | `-V` | Package visibility (public, private, internal) | No | |\n\n### user restore\n\n```sh\ngh pkg-kit user restore \u003cpackage-name\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e]\n```\n\nRestores an entire package for a user.\nThe package must have been deleted within the last 30 days, and the same package namespace and version must still be available.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--owner` | `-o` | Owner name | No | Authenticated user |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### user versions delete\n\n```sh\ngh pkg-kit user versions delete \u003cpackage-name\u003e \u003cversion-id\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e]\n```\n\nDeletes a specific package version for a user. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--owner` | `-o` | Owner name | No | Authenticated user |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### user versions get\n\n```sh\ngh pkg-kit user versions get \u003cpackage-name\u003e \u003cversion-id\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e] [--format \u003cformat\u003e] [--jq \u003cexpression\u003e] [--template \u003ctemplate\u003e]\n```\n\nGets a specific package version for a package owned by a user.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--format` | | Output format: {json} | No | |\n| `--jq` | `-q` | Filter JSON output using a jq expression | No | |\n| `--owner` | `-o` | Owner name | No | Authenticated user |\n| `--template` | `-t` | Format JSON output using a Go template | No | |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### user versions list\n\n```sh\ngh pkg-kit user versions list \u003cpackage-name\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e] [--state \u003cstate\u003e] [--format \u003cformat\u003e] [--jq \u003cexpression\u003e] [--template \u003ctemplate\u003e]\n```\n\nLists package versions for a package owned by a user.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--format` | | Output format: {json} | No | |\n| `--jq` | `-q` | Filter JSON output using a jq expression | No | |\n| `--owner` | `-o` | Owner name | No | Authenticated user |\n| `--state` | `-s` | Package state (active, deleted). Default: active | No | |\n| `--template` | `-t` | Format JSON output using a Go template | No | |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n\n### user versions restore\n\n```sh\ngh pkg-kit user versions restore \u003cpackage-name\u003e \u003cversion-id\u003e --type \u003ctype\u003e [--owner \u003cowner\u003e]\n```\n\nRestores a specific package version for a user.\nThe package must have been deleted within the last 30 days, and the same package namespace and version must still be available.\n\n| Flag | Short | Description | Required | Default |\n| ---- | ----- | ----------- | -------- | ------- |\n| `--owner` | `-o` | Owner name | No | Authenticated user |\n| `--type` | `-T` | Package type (npm, maven, rubygems, docker, nuget, container) | Yes | |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrz-zumix%2Fgh-pkg-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrz-zumix%2Fgh-pkg-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrz-zumix%2Fgh-pkg-kit/lists"}