This commit is contained in:
2025-05-12 05:38:44 +09:00
parent dced21c3f8
commit 6d78bfa46e
8120 changed files with 1161564 additions and 0 deletions

17
book/node_modules/honkit/lib/cli/init.js generated vendored Normal file
View File

@ -0,0 +1,17 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = __importDefault(require("path"));
const options_1 = __importDefault(require("./options"));
const init_1 = __importDefault(require("../init"));
exports.default = {
name: "init [book]",
description: "setup and create files for chapters",
options: [options_1.default.log],
exec: function (args, kwargs) {
const bookRoot = path_1.default.resolve(process.cwd(), args[0] || "./");
return (0, init_1.default)(bookRoot);
}
};