2.0.0 • Published 3 years ago

pupa-cli v2.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

pupa-cli

Simple micro templating

Install

$ npm install --global pupa-cli

Usage

$ 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 🦄 🐮
    I like 🦄 and 🐮

    $ echo 'Hello {{0}}' | pupa '<b>World</b>'
    Hello &lt;b&gt;World&lt;/b&gt;

Related

  • pupa - API for this module