Socket
Socket
Sign inDemoInstall

@iebh/reflib-cli

Package Overview
Dependencies
19
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @iebh/reflib-cli

Command line interface for @IEBH/Reflib


Version published
Maintainers
2
Created

Readme

Source

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

Keywords

FAQs

Last updated on 19 Oct 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc