UNPKG

declapract

Version:

A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.

14 lines 535 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.executeValidate = void 0; const validate_1 = require("../../domain.operations/commands/validate"); const executeValidate = async (options) => { const configPath = options.config.slice(0, 1) === '/' ? options.config : `${process.cwd()}/${options.config}`; await (0, validate_1.validate)({ declarePracticesConfigPath: configPath, }); }; exports.executeValidate = executeValidate; //# sourceMappingURL=validate.js.map