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 ¶
AddPkgCommands adds the 'pkg' command and subcommands for package management.
Types ¶
This section is empty.