⚠️ Development Version — You are viewing documentation for a development version (dev_feat.v3.x.pr-comment). This version may be unstable or incomplete. — View stable version (v3.x)

Synopsis

fcli license ncd-report merge [-y] -r=<reportPaths>[,<reportPaths>…​] [-r=<reportPaths>[,<reportPaths>…​]]…​ [[-h] [--env-prefix=<prefix>] [--log-file=<logFile>] [--log-level=<logLevel>] [--log-mask=<level>] [--debug]] (-z=<reportZipName> | -d=<reportDirName>) [[-o=<type+args>] [--style*=<style>,…​]…​ ] [--to-file=<outputFile>_]]

Description

This command can be used to merge multiple NCD reports into a single combined report with cross-report deduplication.

As an example, if you have individual teams generate separate NCD reports and a developer moves from one team to another, that developer may be counted as a contributing developer in both team reports, thus counted twice when manually combining the counts. Merging the reports will deduplicate the developer and count them only once in the merged report.

Options

-d, --report-dir=<reportDirName>

Write report output to the given directory.

-r, --reports=<reportPaths>[,<reportPaths>…​]

Source report paths (comma-separated or repeated); each entry may be either a report zip file or report directory generated by the create or merge commands.

-y, --confirm

Confirm delete of existing report output location.

-z, --report-zip=<reportZipName>

Write report output to the given zip-file.

-o, --output=<type+args>

Select output type (csv, table, expr, json, xml, yaml) and optional type arguments.

--store=<var>[:<prop>]

Store JSON results in an fcli variable for later reference.

*--style*=<style>,…​

Select output style: header, no-header, pretty, no-pretty, flat, no-flat, array, single, border, no-border, md-border, wrap, no-wrap, fast-output, no-fast-output, envelope, no-envelope.

--to-file=<outputFile>

Write output to the specified file.

--debug

Enable collection of debug logs.

--env-prefix=<prefix>

Prefix for resolving default option values. Default value: FCLI_DEFAULT.

-h, --help

Use 'fcli [command] -h' to display help for fcli (sub-)commands.

--log-file=<logFile>

Write log output to file. Default: ./fcli.log if logging is enabled.

--log-level=<logLevel>

Set logging level: TRACE, DEBUG, INFO, WARN, ERROR, NONE.

--log-mask=<level>

Log mask level: high, medium, low, none. Default: medium. Masking is done on a best-effort basis; no guarantee that all sensitive data will be masked.