rob-p / bibget

Generate BibTex entry from a DOI. Written in Rust and based on the doi2bib crate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bibget

CI crates.io dependency status MIT

CLI tool to generate a BibTex entry from a DOI. Written in Rust and based on the doi2bib crate.

Installation

bibget can be installed from source using cargo

# release version from crates.io
cargo install bibget 

# development version from GitHub
cargo install --git https://github.com/nathansam/bibget.git bibget 

Usage

bibget supports an optional -f/--file argument for writing the BibTex entry to a file. The file will automatically be created if it does not already exist. If the file exists then the entry will be appended to the file.

> bibget -f test.bib 10.1002/sim.1186
@article{Higgins_2002,
	doi = {10.1002/sim.1186},
	url = {https://doi.org/10.1002%2Fsim.1186},
	year = 2002,
	publisher = {Wiley},
	volume = {21},
	number = {11},
	pages = {1539--1558},
	author = {Julian P. T. Higgins and Simon G. Thompson},
	title = {Quantifying heterogeneity in a meta-analysis},
	journal = {Statistics in Medicine}
}

About

Generate BibTex entry from a DOI. Written in Rust and based on the doi2bib crate.

License:MIT License


Languages

Language:Rust 100.0%