judge-d

1.5.1 • Public • Published

Judge-d

Judge-d is a JS CLI tool for publishing and validating contracts using judge-d API.

Install

$ npm i judge-d -g

Usage

$ judge-d --help

Help output:

Commands:
  judge-d publish  Publish contracts
  judge-d verify   Verify contracts

Options:
  --version  Show version number                                       [boolean]
  --help     Show help                                                 [boolean]

Commands

$ judge-d publish --help
Publish contracts

Options:
  --url             Url to judge-d instance                  [string] [required]
  --serviceName     Service name                             [string] [required]
  --serviceVersion  Service version                          [string] [required]

  Required one of:
  --pactsDir        Path to directory with pacts             [string]
  --swaggerFile     Path to swagger json file                [string]

$ judge-d verify --help
It verifies contracts and generates HTML report if outFile is provided

Options:
  --url             Url to judge-d instance                  [string] [required]
  --serviceName     Service name                             [string] [required]
  --serviceVersion  Service version                          [string] [required]
  --environment     Environment name                         [string] [required]
  --outFile         Path with HTML report filename, ex. report.html     [string]

Readme

Keywords

Package Sidebar

Install

npm i judge-d

Weekly Downloads

14

Version

1.5.1

License

MIT

Unpacked Size

22.5 kB

Total Files

29

Last publish

Collaborators

  • hltech