【文件属性】:
文件名称:pupa-cli:简单的微型模板
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-26 03:29:21
JavaScript
pa
简单的微型模板
安装
$ npm install --global pupa-cli
用法
$ pupa --help
Examples
$ echo 'The mobile number of {name} is {mobile}' | pupa --name=Sindre --mobile='609 24 363'
The mobile number of Sindre is 609 24 363
$ echo 'I like {0} and {1}' | pupa :unicorn: :cow_face:
I like :unicorn: and :cow_face:
$ echo 'Hello {{0}}' | pupa 'World'
Hello World
有关的
此模块的API
【文件预览】:
pupa-cli-main
----.gitignore(23B)
----package.json(800B)
----cli.js(589B)
----.npmrc(19B)
----test.js(352B)
----.github()
--------workflows()
----license(1KB)
----readme.md(521B)
----.gitattributes(19B)
----.editorconfig(175B)