Linux command
wikiman 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Search
wikiman [query]
Search
wikiman -s [man,arch] [query]
List
wikiman -S
Search
wikiman -q [query]
Search
wikiman -a [query]
wikiman -R [query]
Open
wikiman -H [w3m] [query]
说明
wikiman is an offline documentation search engine that aggregates multiple sources including man pages, Arch Wiki, Gentoo Wiki, TLDR pages, FreeBSD documentation, and DevDocs into a single searchable interface. Queries are matched across all configured sources simultaneously, with results ranked by relevance using fuzzy matching. Source filtering allows narrowing searches to specific documentation types, such as only wiki articles or only man pages. Results can be viewed in a terminal pager or opened in a browser with full HTML formatting preserved for wiki content. All documentation is stored locally after an initial sync, enabling fast searches without network access. If no keywords are provided, all pages are shown.
参数
- -s _SOURCES_
- Comma-separated list of sources to search (default: all available).
- -l _LANGUAGES_
- Comma-separated search languages (default: en).
- -f _FINDER_
- Fuzzy finder to use (default: fzf).
- -H _VIEWER_
- HTML viewer for wiki pages (default: w3m).
- -q
- Enable quick search mode.
- -a
- Enable AND operator mode (all keywords must match).
- -p
- Disable quick result preview.
- -k
- Keep wikiman open after viewing a result.
- -c
- Show source column in results.
- -R
- Print raw output without interactive selection.
- -S
- List available sources and exit.
- -W _SHELL_
- Print widget code for the specified shell (bash, zsh, fish) and exit.
- -v
- Print version and exit.
- -h
- Display help and exit.
FAQ
What is the wikiman command used for?
wikiman is an offline documentation search engine that aggregates multiple sources including man pages, Arch Wiki, Gentoo Wiki, TLDR pages, FreeBSD documentation, and DevDocs into a single searchable interface. Queries are matched across all configured sources simultaneously, with results ranked by relevance using fuzzy matching. Source filtering allows narrowing searches to specific documentation types, such as only wiki articles or only man pages. Results can be viewed in a terminal pager or opened in a browser with full HTML formatting preserved for wiki content. All documentation is stored locally after an initial sync, enabling fast searches without network access. If no keywords are provided, all pages are shown.
How do I run a basic wikiman example?
Run `wikiman [query]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -s _SOURCES_ do in wikiman?
Comma-separated list of sources to search (default: all available).