@devicecloud.dev/dcd
Version:
Better cloud maestro testing
51 lines (50 loc) • 2.14 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.executionFlags = void 0;
const core_1 = require("@oclif/core");
/**
* Test execution and flow management flags
*/
exports.executionFlags = {
config: core_1.Flags.file({
description: 'Path to custom config.yaml file. If not provided, defaults to config.yaml in root flows folders.',
}),
'exclude-flows': core_1.Flags.string({
default: [],
description: 'Sub directories to ignore when building the flow file list',
multiple: true,
multipleNonGreedy: true,
parse: (input) => input.split(','),
}),
'exclude-tags': core_1.Flags.string({
aliases: ['exclude-tags'],
default: [],
description: 'Flows which have these tags will be excluded from the run',
multiple: true,
multipleNonGreedy: true,
parse: (input) => input.split(','),
}),
flows: core_1.Flags.string({
description: 'The path to the flow file or folder containing your flows',
}),
'include-tags': core_1.Flags.string({
aliases: ['include-tags'],
default: [],
description: 'Only flows which have these tags will be included in the run',
multiple: true,
multipleNonGreedy: true,
parse: (input) => input.split(','),
}),
'maestro-version': core_1.Flags.string({
aliases: ['maestroVersion'],
description: 'Maestro version to run your flow against. Use "latest" for the most recent version. Supported versions are fetched from the API.',
}),
retry: core_1.Flags.integer({
description: 'Automatically retry the run up to the number of times specified (same as pressing retry in the UI) - this is free of charge',
}),
'runner-type': core_1.Flags.string({
default: 'default',
description: '[experimental] The type of runner to use - note: anything other than default or cpu1 will incur premium pricing tiers, see https://docs.devicecloud.dev/reference/runner-type for more information.',
options: ['default', 'm4', 'm1', 'gpu1', 'cpu1'],
}),
};