Skip to content

bas080/memplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

NAME
    memplate - command line tool for (code) templating.

SYNOPSIS
    memplate [alias]

DESCRIPTION
    Memplate is a command line tool for templating.

    It introduces a minimal syntax and has sane defaults that make weaving
    code easier by respecting code indentation.

EXAMPLES
    Defining the alias will store the stdin to that alias.

        echo hello | memplate hello
        echo world | memplate world

    The template is rendered when the alias is not defined.

        echo '<hello
        <world' | memplate

    The rendered result:

        hello
        world

    You can escape the < by escaping it with \:

        \<body>

        <body>

ISSUES
    *   Does not allow changing the `<` prefix. This might be convenient
        when working with certain languages like HTML.

    Unknown issues and bugs can be reported over at
    https://github.com/bas080/memplate/issues.

AUTHOR
    Written by Bassim Huis.

About

Simple cli templating tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published