sttemp

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

README.md (905B)


      1 # NAME
      2 
      3 sttemp - simple template manager
      4 
      5 # SYNOPSIS
      6 
      7 **sttemp** \[**-h**\]
      8 
      9 **sttemp** \[**-e**\] *template* \[*output*\]
     10 
     11 # DESCRIPTION
     12 
     13 **sttemp** copy file from your template directory and fill all
     14 substitutions with user input, or environment variables. Template
     15 directory and substitution pattern described in **src/config.h** file,
     16 in suckless style. You can use **\~** as **first** symbol of your path,
     17 for relative path from your home directory.
     18 
     19 # OPTIONS
     20 
     21 **-h**
     22 
     23 :   displays help information
     24 
     25 **-e**
     26 
     27 :   use environment variables for fill substitution in template, if
     28     **sttemp** can\'t find environment variable with needed name, it
     29     will use user input
     30 
     31 **template**
     32 
     33 :   name of file in your templates directory, which will use to create
     34     new file
     35 
     36 **output**
     37 
     38 :   name of target file, if omit - **sttemp** will use template name
     39 
     40 # AUTHOR
     41 
     42 Anton Konyahin \<*me\@konyahin.xyz*\>