pkgcmd

package
v0.0.0-...-a4ad18f Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: EUPL-1.2 Imports: 16 Imported by: 0

Documentation

Overview

Package pkgcmd provides GitHub package management for host-uk repositories.

Commands:

  • search: Search GitHub org for repos (cached for 1 hour)
  • install: Clone a repo from GitHub to packages/
  • list: List installed packages from repos.yaml
  • update: Pull latest changes for packages
  • outdated: Check which packages have unpulled commits

Uses gh CLI for authenticated GitHub access. Results are cached in .core/cache/ within the workspace directory.

Package pkgcmd provides package management commands for core-* repos.

cmd_remove.go implements the 'pkg remove' command with safety checks.

Before removing a package, it verifies: 1. No uncommitted changes exist 2. No unpushed branches exist This prevents accidental data loss from agents or tools that might attempt to remove packages without cleaning up first.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPkgCommands

func AddPkgCommands(root *cobra.Command)

AddPkgCommands adds the 'pkg' command and subcommands for package management.

Types

This section is empty.

Jump to

Keyboard shortcuts

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