UNPKG

campus-tex-cli

Version:

A CLI to quickly generate latex files for presentations or task assignments, using the unofficial template by the University of Stuttgart.

17 lines (16 loc) 594 B
import chalk from "chalk"; export const askTemplateType = async () => { console.log(chalk.gray("\nPresentation template will be available soon :)\n")); console.log("Continuing with article template...\n"); return "article"; // const choicesPrompt = await inquirer.prompt({ // name: "template_type", // message: "What template would you like to use?", // type: "list", // choices: ["Article"], // default() { // return "Article"; // }, // }); // return (choicesPrompt.template_type as String).toLowerCase() as TemplateType; };