sttemp

Simple template manager
git clone git://git.konyahin.xyz/sttemp
Log | Files | Refs | README | LICENSE

sttemp.1 (937B)


      1 .TH STTEMP 1 2022-01-09 V1.0
      2 .SH NAME
      3 sttemp \- simple template manager
      4 .SH SYNOPSIS
      5 .B sttemp
      6 [\fB\-h\fR]
      7 
      8 .B sttemp
      9 [\fB\-e\fR]
     10 \fItemplate\fR
     11 [\fIoutput\fR]
     12 .SH DESCRIPTION
     13 .B sttemp
     14 copy file from your template directory and fill all 
     15 substitutions with user input, or environment variables.
     16 Template directory and substitution pattern described in
     17 \fBsrc/config.h\fR file, in suckless style. You can use
     18 \fB~\fR as \fBfirst\fR symbol of your path, for relative
     19 path from your home directory.
     20 .SH OPTIONS
     21 .TP
     22 .BI \-h
     23 displays help information
     24 .TP
     25 .BI \-e
     26 use environment variables for fill substitution in 
     27 template, if \fBsttemp\fR can't find environment variable 
     28 with needed name, it will use user input
     29 .TP
     30 .BI template
     31 name of file in your templates directory, which will use 
     32 to create new file
     33 .TP
     34 .BI output
     35 name of target file, if omit - \fBsttemp\fR will use template name
     36 .SH AUTHOR
     37 Anton Konyahin <\fIme@konyahin.xyz\fR>