6 releases (2 stable)
new 1.0.1 | Mar 28, 2023 |
---|---|
1.0.0 | Feb 24, 2023 |
0.0.4 | Feb 16, 2023 |
0.0.1 | Jan 27, 2023 |
#418 in Command line utilities
41 downloads per month
20KB
bibget
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}
}
Dependencies
~8–16MB
~328K SLoC