@fewer/cli
Version:
The CLI to scaffold and perform operations for Fewer.
14 lines • 488 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("../utils");
const hook = async function (options) {
try {
// TODO: This should check more things like general project structure and verify the fewerconfig is actually valid.
await utils_1.ensureProject(this.warn, this.error);
}
catch (e) {
this.error(e.message, { exit: 1 });
}
};
exports.default = hook;
//# sourceMappingURL=ensureProject.js.map