UNPKG

zenn-template-cli

Version:

A CLI tool to inject predefined templates into your Zenn articles

13 lines (12 loc) 655 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.OVERWRITE_FLAG = exports.TEMPLATE_ARG_PREFIX = exports.MARKDOWN_EXT = exports.ARTICLES_DIR = exports.TEMPLATE_DIR = void 0; const path_1 = __importDefault(require("path")); exports.TEMPLATE_DIR = path_1.default.join(process.cwd(), "templates"); exports.ARTICLES_DIR = path_1.default.join(process.cwd(), "articles"); exports.MARKDOWN_EXT = ".md"; exports.TEMPLATE_ARG_PREFIX = "--template="; exports.OVERWRITE_FLAG = "--overwrite";