mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
15d3583c60
* docs: add missing adapter docs, fix sidebar 404s, add doc-check CI - Add doc pages for 11 undocumented adapters: arxiv, barchart, chaoxing, grok, hf, jike, jimeng, linux-do, sinafinance, stackoverflow, weread, wikipedia - Update adapters/index.md with all new adapter entries - Update VitePress sidebar config with 12 new entries - Remove broken zh/ sidebar refs (troubleshooting, testing) - Add doc-check CI workflow (adapter coverage + build + link check) - Add scripts/check-doc-coverage.sh for adapter doc enforcement - Enhance PR template with adapter doc checklist * fix(ci): use --root-dir instead of --base for lychee link checker lychee v0.23 requires --base to be a URL or absolute path. Use --root-dir for resolving root-relative links in local files. * fix(ci): remove lychee link-check job, rely on VitePress build VitePress links use extension-less paths (e.g. /adapters/browser/twitter) which lychee cannot resolve. The docs-build job already catches all broken internal links via VitePress dead link detection during build.
831 B
831 B
Grok
Mode: 🔐 Browser · Domain: grok.com
Commands
| Command | Description |
|---|---|
opencli grok ask |
Send a message to Grok and get response |
Usage Examples
# Ask Grok a question
opencli grok ask --prompt "Explain quantum computing in simple terms"
# Start a new chat session
opencli grok ask --prompt "Hello" --new
# Set custom timeout (default: 120s)
opencli grok ask --prompt "Write a long essay" --timeout 180
Options
| Option | Description |
|---|---|
--prompt |
The message to send (required) |
--timeout |
Wait timeout in seconds (default: 120) |
--new |
Start a new chat session (default: false) |
Prerequisites
- Chrome running and logged into grok.com
- Browser Bridge extension installed