Package management for host-uk repositories.
core pkg <command> [flags]| Command | Description |
|---|---|
search |
Search GitHub for packages |
install |
Clone a package from GitHub |
list |
List installed packages |
update |
Update installed packages |
outdated |
Check for outdated packages |
Search GitHub for host-uk packages.
core pkg search [flags]Results are cached for 1 hour in .core/cache/.
| Flag | Description |
|---|---|
--org |
GitHub organisation (default: host-uk) |
--pattern |
Repo name pattern (* for wildcard) |
--type |
Filter by type in name (mod, services, plug, website) |
--limit |
Max results (default: 50) |
--refresh |
Bypass cache and fetch fresh data |
# List all repos in org
core pkg search
# Search for core-* repos
core pkg search --pattern 'core-*'
# Search different org
core pkg search --org mycompany
# Bypass cache
core pkg search --refreshClone a package from GitHub.
core pkg install <org/repo> [flags]| Flag | Description |
|---|---|
--dir |
Target directory (default: ./packages or current dir) |
--add |
Add to repos.yaml registry |
# Clone to packages/
core pkg install host-uk/core-php
# Clone to custom directory
core pkg install host-uk/core-tenant --dir ./packages
# Clone and add to registry
core pkg install host-uk/core-admin --addList installed packages from repos.yaml.
core pkg listShows installed status (✓) and description for each package.
Pull latest changes for installed packages.
core pkg update [<name>...] [flags]| Flag | Description |
|---|---|
--all |
Update all packages |
# Update specific package
core pkg update core-php
# Update all packages
core pkg update --allCheck which packages have unpulled commits.
core pkg outdatedFetches from remote and shows packages that are behind.