bib2x

bib2x

API

main(arguments=None)

Main method

The application reads the file defined by --input / -i <BIBTEX_FILE> and saves the contents to the file defined using the option --output / -o <FILE>, converting them to the format defined using the option --format / -f <FORMAT>.

Parameters:

Name Type Description Default
arguments List[str]

The command line arguments, parsed as options using OptionParser.

None

Options

The following options must be set:

--input / -i <BIBTEX_FILE>: The BibTeX file to load

--output / -o <FILE>: The file to write

The following options are optional:

--format / -f <FORMAT>: The type of file to write ['json']