Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (err) {
console.log(err);
reject({ err: err });
}
else {
resolve({ stdout: stdout, stderr: stderr });
}
});
})];
});
});
};
Report.description = messages.getMessage('description');
Report.examples = [messages.getMessage('example1')];
Report.flagsConfig = {
resultformat: command_1.flags.string({ char: 'r', description: messages.getMessage('resultformatFlagDescription'), "default": 'dot', options: ['dot', 'xml'] }),
includelist: command_1.flags.string({ char: 'i', description: messages.getMessage('includeListDescription') }),
excludelist: command_1.flags.string({ char: 'e', description: messages.getMessage('excludeListDescription') }),
outputdir: command_1.flags.string({ char: 'd', description: messages.getMessage('outputDirDescription') }),
generatemanifest: command_1.flags.boolean({ char: 'm', description: messages.getMessage('generateManifestDescription') }),
excludepackagefile: command_1.flags.string({
char: 'x',
description: messages.getMessage('excludePackageDescription'),
dependsOn: ['generatemanifest']
}),
includealldependencies: command_1.flags.boolean({
char: 'a',
description: messages.getMessage('getIncludeDependencies'),
dependsOn: ['includelist']
}),
includealldependents: command_1.flags.boolean({
char: 't',
excludepackagefile: command_1.flags.string({
char: 'x',
description: messages.getMessage('excludePackageDescription'),
dependsOn: ['generatemanifest']
}),
includealldependencies: command_1.flags.boolean({
char: 'a',
description: messages.getMessage('getIncludeDependencies'),
dependsOn: ['includelist']
}),
includealldependents: command_1.flags.boolean({
char: 't',
description: messages.getMessage('getIncludeDependents'),
dependsOn: ['includelist']
}),
validate: command_1.flags.boolean({
char: 'v',
description: messages.getMessage('validateDescription')
})
};
Report.requiresUsername = true;
return Report;
}(command_1.SfdxCommand));
exports["default"] = Report;