This commit is contained in:
parent
17d871e2ca
commit
538cc3a0c3
|
|
@ -132,7 +132,7 @@ async function start() {
|
|||
|
||||
let options = parsed.options;
|
||||
|
||||
if (options.api && options.api.hostname) {
|
||||
if (options.api && options.api.hostname && !options.disableAPI) {
|
||||
api(options);
|
||||
} else {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -2034,9 +2034,14 @@ export async function parseCommandLine() {
|
|||
describe:
|
||||
'Give your test a slug. The slug is used when you send the metrics to your data storage to identify the test and the folder of the tests. The max length of the slug is 200 characters and it can only contain a-z A-Z 0-9 and -_ characters.'
|
||||
})
|
||||
.option('disableAPI', {
|
||||
default: false,
|
||||
type: 'boolean'
|
||||
})
|
||||
.help('h')
|
||||
.alias('help', 'h')
|
||||
.config(config)
|
||||
.hide('disableAPI')
|
||||
.alias('version', 'V')
|
||||
.version(version)
|
||||
.coerce('budget', function (argument) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue