docs: add short flag aliases to built-in init skill reference

This commit is contained in:
Willie
2026-02-21 21:12:51 +08:00
parent cea26ea7fb
commit 3518cca2b1
+9 -9
View File
@@ -10,20 +10,20 @@ Initialize skillshare configuration (global or project).
| Flag | Description |
|------|-------------|
| `--copy-from <name\|path>` | Import skills from target/path |
| `-c, --copy-from <name\|path>` | Import skills from target/path |
| `--no-copy` | Start with empty source |
| `--targets "claude,cursor"` | Specific targets |
| `-t, --targets "claude,cursor"` | Specific targets |
| `--all-targets` | All detected targets |
| `--no-targets` | Skip target setup |
| `--git` | Initialize git repo |
| `--no-git` | Skip git init |
| `--discover` | Discover new AI tools (interactive) |
| `-d, --discover` | Discover new AI tools (interactive) |
| `--discover --select "a,b"` | Non-interactive discovery |
| `--source <path>` | Custom source path |
| `--remote <url>` | Set git remote |
| `-s, --source <path>` | Custom source path |
| `--remote <url>` | Set git remote (implies --git) |
| `--skill` | Install built-in skillshare skill (opt-in) |
| `--no-skill` | Skip built-in skill installation |
| `--dry-run` | Preview changes |
| `-n, --dry-run` | Preview changes |
### AI Usage (Non-Interactive)
@@ -58,10 +58,10 @@ Creates `.skillshare/` in current directory with `config.yaml`, `.gitignore`, an
| Flag | Description |
|------|-------------|
| `-p, --project` | Enable project mode |
| `--targets "claude,cursor"` | Specific targets (non-interactive) |
| `--discover` | Discover new AI tools |
| `-t, --targets "claude,cursor"` | Specific targets (non-interactive) |
| `-d, --discover` | Discover new AI tools |
| `--discover --select "a,b"` | Non-interactive discovery |
| `--dry-run, -n` | Preview changes |
| `-n, --dry-run` | Preview changes |
**Note:** `--copy-from`, `--git`, `--source` are not available in project mode.