chore: rename skill.md to SKILL.md; update README; add -o path validation
This commit is contained in:
1 parent
a81661d828
commit
06e3c6bdb9
3 files changed
+27
-3
No files matched your search
@@ -5,8 +5,11 @@ Multi-source web search CLI tool — search across **28 engines** from your term
|
||||
## Quick Start
|
||||
|
||||
```bash
|
||||
# Install with uv (recommended)
|
||||
# Option 1: pip install (recommended for CodeBuddy Agent use)
|
||||
cd web-search-skills
|
||||
pip install -e .
|
||||
|
||||
# Option 2: uv tool install (alternative)
|
||||
uv tool install -e .
|
||||
|
||||
# Now use globally from anywhere
|
||||
@@ -20,6 +23,8 @@ Or run directly without install:
|
||||
python ws.py wechat 蒙面财经
|
||||
```
|
||||
|
||||
> Requires Python 3.8+. After `pip install -e .`, the `web-search` command is available globally.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
@@ -46,7 +51,7 @@ web-search <command> <query> [options]
|
||||
|-------------------|----------------------------------------------|
|
||||
| `-n N` | Max results per source (default: 10) |
|
||||
| `-j` | JSON output |
|
||||
| `-o FILE` | Save to JSON file |
|
||||
| `-o FILE` | Save to JSON file (path restricted to current directory) |
|
||||
| `-s NAME [...]` | Specific source(s) — engine names or categories (e.g. `-s "Hacker News" V2EX`, `-s web news`) |
|
||||
| `-r cn/global` | Region filter (web search) |
|
||||
| `--site SITE` | Restrict to site (baidu command only) |
|
||||
|
||||
Reference in new issue
Block a user