1.2.19 • Published 4 years ago

reflib-cli v1.2.19

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

Reflib-CLI

Command line interface for Reflib.

Features

Count the references in a library (and check they are valid)

reflib LibraryIn.xml -c

Convert between formats

reflib LibraryIn.xml -o json >LibraryOut.json

Deduplicate libraries

reflib LibraryIn.xml -x --dedupe >LibraryOut.xml

Query using JSON expressions

reflib LibraryIn.xml -q '{year: "2008"}'

Usage

Usage: app file...

Options:

-h, --help                   output usage information
-V, --version                output the version number
-c, --count                  Dont output refs, just output the count (sets `-o count`)
-j, --json                   Output valid JSON (sets `-o json`)
-x, --xml                    Output EndNote XML file (sets `-o endnotexml`)
-o, --output [mode]          Output file format (js, json, endnotexml, count)
-q, --query [expression...]  Query by HanSON expression (loose JSON parsing)
-v, --verbose                Be verbose (also prints a running total if -c is specified)
--dedupe [action]            Deduplicate the library via the sra-dedupe NPM module. Actions are 'remove' (default), 'count' or 'mark' (to set the caption to "DUPE")
--no-color                   Force disable color
--no-progress                Disable progress bars
1.2.19

4 years ago

1.2.18

5 years ago

1.2.17

5 years ago

1.2.16

5 years ago

1.2.15

5 years ago

1.2.14

6 years ago

1.2.13

6 years ago

1.2.12

6 years ago

1.2.11

6 years ago

1.2.10

6 years ago

1.2.9

7 years ago

1.2.8

7 years ago

1.2.7

7 years ago

1.2.6

7 years ago

1.2.5

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.7

8 years ago

1.1.6

8 years ago

1.1.5

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.4

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago