docs: fix command prefixes across documentation

- core search → core pkg search
- core install → core pkg install
- core templates → core vm templates
- core run → core vm run
- --target → --output in docs sync

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Snider 2026-01-29 15:46:24 +00:00
parent cf843d59de
commit 13561b1de6
3 changed files with 22 additions and 22 deletions

View file

@ -10,5 +10,5 @@ core docs list
```bash
core docs sync
core docs sync --target ./docs
core docs sync --output ./docs
```

View file

@ -1,13 +1,13 @@
# core search & install
# core pkg search & core pkg install
Search GitHub for repositories and install them locally.
## core search
## core pkg search
Search GitHub for repositories matching a pattern.
```bash
core search <pattern> [flags]
core pkg search <pattern> [flags]
```
### Flags
@ -22,16 +22,16 @@ core search <pattern> [flags]
```bash
# Search by pattern
core search "cli tool"
core pkg search "cli tool"
# Search within organization
core search --org host-uk
core pkg search --org host-uk
# Search with language filter
core search --org host-uk --language go
core pkg search --org host-uk --language go
# Search all core-* repos
core search "core-" --org host-uk
core pkg search "core-" --org host-uk
```
### Output
@ -52,12 +52,12 @@ Found 5 repositories:
★ 8 Dockerfile Updated 3 days ago
```
## core install
## core pkg install
Clone a repository from GitHub.
```bash
core install <repo> [flags]
core pkg install <repo> [flags]
```
### Flags
@ -72,16 +72,16 @@ core install <repo> [flags]
```bash
# Install by full name
core install host-uk/core
core pkg install host-uk/core
# Install to specific path
core install host-uk/core --path ~/Code/host-uk
core pkg install host-uk/core --path ~/Code/host-uk
# Install specific branch
core install host-uk/core --branch dev
core pkg install host-uk/core --branch dev
# Shallow clone
core install host-uk/core --depth 1
core pkg install host-uk/core --depth 1
```
### Authentication
@ -97,10 +97,10 @@ gh auth login # if not authenticated
```bash
# Find repositories
core search --org host-uk
core pkg search --org host-uk
# Install one
core install host-uk/core-php --path ~/Code/host-uk
core pkg install host-uk/core-php --path ~/Code/host-uk
# Check setup
core doctor

View file

@ -1,11 +1,11 @@
# core templates
# core vm templates
Manage LinuxKit templates for container images.
## Usage
```bash
core templates [command]
core vm templates [command]
```
## Commands
@ -20,7 +20,7 @@ core templates [command]
List all available LinuxKit templates.
```bash
core templates list
core vm templates list
```
### Output
@ -46,13 +46,13 @@ Available Templates:
Show details of a specific template.
```bash
core templates show <name>
core vm templates show <name>
```
### Example
```bash
core templates show core-dev
core vm templates show core-dev
```
Output:
@ -108,7 +108,7 @@ services:
Run with:
```bash
core run --template myserver
core vm run --template myserver
```
## See Also