gh-templating
Version:
## A CLI tool to make choosing GitHub PR templates easier
11 lines (7 loc) • 347 B
JavaScript
import { getMarkdownFilenames } from "../src/util/template-choices.mjs";
import { fileURLToPath } from "url";
import { dirname } from "path";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
export const pathToModuleTemplatesFolder = __dirname;
export const TEMPLATES = getMarkdownFilenames(__dirname);