Browse Source

Create bibtexbrowser-cli.php

pull/63/head
Chris 9 years ago
committed by GitHub
parent
commit
7c3dc87a32
  1. 10
      src/bibtexbrowser-cli.php

10
src/bibtexbrowser-cli.php

@ -0,0 +1,10 @@
<?php
// a command line interface for bibtexbrowser
// example: php bibtexbrowser-cli.php test_cli.bib --id classical --set-title "a new title"
$_GET['library']=1;
function createBibEntry() { $x = new RawBibEntry(); return $x;}
require('bibtexbrowser.php');
bibtexbrowser_configure('BIBTEXBROWSER_BIBTEX_VIEW','reconstructed');
bibtexbrowser_configure('BIBTEXBROWSER_BIBTEX_VIEW_FILTEREDOUT','');
bibtexbrowser_cli($argv);
?>
Loading…
Cancel
Save