Skip to content

Latest commit

 

History

History
 
 

schnauzer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

schnauzer

Current version: 0.1.0

Introduction

schnauzer is called by sundog as a setting generator. Its sole parameter is the name of the setting to generate.

The setting we're generating is expected to have a metadata key already set: "template". "template" is an arbitrary string with mustache template variables that reference other settings.

For example, if we're generating "settings.x" and we have template "foo-{{ settings.bar }}", we look up the value of "settings.bar" in the API. If the returned value is "baz", our generated value will be "foo-baz".

(The name "schnauzer" comes from the fact that Schnauzers are search and rescue dogs (similar to this search and replace task) and because they have mustaches.)

Colophon

This text was generated from README.tpl using cargo-readme, and includes the rustdoc from src/main.rs.