@mockyeah/cli
Advanced tools
Comparing version 1.0.0-alpha.9 to 1.0.0-alpha.10
@@ -10,17 +10,14 @@ 'use strict'; | ||
const program = require('commander'); | ||
const boot = require('../lib/boot'); | ||
const version = require('../version'); | ||
boot(() => { | ||
program | ||
.name('mockyeah') | ||
.version(version) | ||
.command('list', 'list suites') | ||
.alias('ls') | ||
.command('play [suiteNames]', 'play suite(s)') | ||
.command('playAll', 'play all suites') | ||
.alias('play-all') | ||
.command('record [suiteName]', 'record suite') | ||
.command('start', 'start server') | ||
.parse(process.argv); | ||
}); | ||
program | ||
.name('mockyeah') | ||
.version(version) | ||
.command('list', 'list suites') | ||
.alias('ls') | ||
.command('play [suiteNames]', 'play suite(s)') | ||
.command('playAll', 'play all suites') | ||
.alias('play-all') | ||
.command('record [suiteName]', 'record suite') | ||
.command('start', 'start server') | ||
.parse(process.argv); |
@@ -11,2 +11,4 @@ 'use strict'; | ||
process.env.DEBUG = process.env.DEBUG || 'mockyeah:*'; | ||
const liftoff = new Liftoff({ | ||
@@ -13,0 +15,0 @@ name: 'mockyeah', |
{ | ||
"name": "@mockyeah/cli", | ||
"version": "1.0.0-alpha.9", | ||
"version": "1.0.0-alpha.10", | ||
"description": "A powerful service mocking, recording, and playback utility.", | ||
@@ -59,3 +59,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@mockyeah/server": "^1.0.0-alpha.9", | ||
"@mockyeah/server": "^1.0.0-alpha.10", | ||
"chalk": "^1.1.1", | ||
@@ -71,3 +71,3 @@ "commander": "^2.9.0", | ||
"devDependencies": { | ||
"@mockyeah/tools": "^1.0.0-alpha.9", | ||
"@mockyeah/tools": "^1.0.0-alpha.10", | ||
"eslint": "^6.4.0", | ||
@@ -84,3 +84,3 @@ "eslint-config-airbnb-base": "^14.0.0", | ||
}, | ||
"gitHead": "1d8d29c0381bc6542881e95c3ebc07d144db9e2c" | ||
"gitHead": "f246a2453a6d987aedae5398bcbfa71e373dabbc" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16450
472
9