← 返回命令列表

Linux command

cobib 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start

cobib

Initialize

cobib init --git

Add

cobib add --doi [10.1234/example]

Add

cobib add --arxiv [1701.08213]

Import

cobib import --bibtex [references.bib]

List

cobib list --sort year --reverse --limit 20

Search

cobib search --ignore-case "[quantum]" -- ++year [2024]

Export

cobib export --bibtex [output.bib]

说明

cobib (Console Bibliography) is a bibliography management tool that stores references in a plain-text YAML database. It provides both a command-line interface and a TUI built on the Textual framework. The tool supports importing references from arXiv, DOI, ISBN, BibTeX, URL, and YAML sources, and can automatically download PDFs. The database can be tracked with git for version control, enabling undo/redo operations. Search supports regex, fuzzy matching, LaTeX and Unicode decoding, and full-text PDF search via ripgrep-all. A plugin system allows custom commands, importers, exporters, and parsers.

参数

-c, --config _CONFIG_
Path to configuration file.
-v, --verbose
Increase verbosity.

FAQ

What is the cobib command used for?

cobib (Console Bibliography) is a bibliography management tool that stores references in a plain-text YAML database. It provides both a command-line interface and a TUI built on the Textual framework. The tool supports importing references from arXiv, DOI, ISBN, BibTeX, URL, and YAML sources, and can automatically download PDFs. The database can be tracked with git for version control, enabling undo/redo operations. Search supports regex, fuzzy matching, LaTeX and Unicode decoding, and full-text PDF search via ripgrep-all. A plugin system allows custom commands, importers, exporters, and parsers.

How do I run a basic cobib example?

Run `cobib` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c, --config _CONFIG_ do in cobib?

Path to configuration file.