UNPKG

boil-cli-tool

Version:

CLI tool - boilerplate template manager and generator

28 lines (27 loc) 1.28 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.readmeContent = exports.templateFunctionContent = exports.placeholderContent = exports.localYaml = exports.globalYaml = void 0; exports.globalYaml = `# definition of 'filetype' arg filetype: # arg will be called using --filetype shorthand: ft # arg can be called using -ft instead of --filetype description: file type # used in help menu default: js # if arg not provided by user then default to this value options: # if user provides an input not in this list then throw an error - js - py - go `; exports.localYaml = `# definition of 'name' arg name: # arg will be called using --name shorthand: n # arg can be called using -n instead of --name description: component name # used in help menu `; exports.placeholderContent = `//___timestamp()___ ___name___= "hello world" `; exports.templateFunctionContent = `// this is a template function - it can be invoked in templates using___timestamp()___ // see here for more details: https://jordan-eckowitz.github.io/boil-cli-docs/how-it-works/#template-functions module.exports = function () { return Date.now(); };`; exports.readmeContent = `check out the documentation here: https://jordan-eckowitz.github.io/boil-cli-docs`;