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:
parent
cf843d59de
commit
13561b1de6
3 changed files with 22 additions and 22 deletions
|
|
@ -10,5 +10,5 @@ core docs list
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
core docs sync
|
core docs sync
|
||||||
core docs sync --target ./docs
|
core docs sync --output ./docs
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
# core search & install
|
# core pkg search & core pkg install
|
||||||
|
|
||||||
Search GitHub for repositories and install them locally.
|
Search GitHub for repositories and install them locally.
|
||||||
|
|
||||||
## core search
|
## core pkg search
|
||||||
|
|
||||||
Search GitHub for repositories matching a pattern.
|
Search GitHub for repositories matching a pattern.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
core search <pattern> [flags]
|
core pkg search <pattern> [flags]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Flags
|
### Flags
|
||||||
|
|
@ -22,16 +22,16 @@ core search <pattern> [flags]
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Search by pattern
|
# Search by pattern
|
||||||
core search "cli tool"
|
core pkg search "cli tool"
|
||||||
|
|
||||||
# Search within organization
|
# Search within organization
|
||||||
core search --org host-uk
|
core pkg search --org host-uk
|
||||||
|
|
||||||
# Search with language filter
|
# Search with language filter
|
||||||
core search --org host-uk --language go
|
core pkg search --org host-uk --language go
|
||||||
|
|
||||||
# Search all core-* repos
|
# Search all core-* repos
|
||||||
core search "core-" --org host-uk
|
core pkg search "core-" --org host-uk
|
||||||
```
|
```
|
||||||
|
|
||||||
### Output
|
### Output
|
||||||
|
|
@ -52,12 +52,12 @@ Found 5 repositories:
|
||||||
★ 8 Dockerfile Updated 3 days ago
|
★ 8 Dockerfile Updated 3 days ago
|
||||||
```
|
```
|
||||||
|
|
||||||
## core install
|
## core pkg install
|
||||||
|
|
||||||
Clone a repository from GitHub.
|
Clone a repository from GitHub.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
core install <repo> [flags]
|
core pkg install <repo> [flags]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Flags
|
### Flags
|
||||||
|
|
@ -72,16 +72,16 @@ core install <repo> [flags]
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install by full name
|
# Install by full name
|
||||||
core install host-uk/core
|
core pkg install host-uk/core
|
||||||
|
|
||||||
# Install to specific path
|
# 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
|
# Install specific branch
|
||||||
core install host-uk/core --branch dev
|
core pkg install host-uk/core --branch dev
|
||||||
|
|
||||||
# Shallow clone
|
# Shallow clone
|
||||||
core install host-uk/core --depth 1
|
core pkg install host-uk/core --depth 1
|
||||||
```
|
```
|
||||||
|
|
||||||
### Authentication
|
### Authentication
|
||||||
|
|
@ -97,10 +97,10 @@ gh auth login # if not authenticated
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Find repositories
|
# Find repositories
|
||||||
core search --org host-uk
|
core pkg search --org host-uk
|
||||||
|
|
||||||
# Install one
|
# 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
|
# Check setup
|
||||||
core doctor
|
core doctor
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
# core templates
|
# core vm templates
|
||||||
|
|
||||||
Manage LinuxKit templates for container images.
|
Manage LinuxKit templates for container images.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
core templates [command]
|
core vm templates [command]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
@ -20,7 +20,7 @@ core templates [command]
|
||||||
List all available LinuxKit templates.
|
List all available LinuxKit templates.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
core templates list
|
core vm templates list
|
||||||
```
|
```
|
||||||
|
|
||||||
### Output
|
### Output
|
||||||
|
|
@ -46,13 +46,13 @@ Available Templates:
|
||||||
Show details of a specific template.
|
Show details of a specific template.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
core templates show <name>
|
core vm templates show <name>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
core templates show core-dev
|
core vm templates show core-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
Output:
|
Output:
|
||||||
|
|
@ -108,7 +108,7 @@ services:
|
||||||
Run with:
|
Run with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
core run --template myserver
|
core vm run --template myserver
|
||||||
```
|
```
|
||||||
|
|
||||||
## See Also
|
## See Also
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue