Skip to content

AngryMaciek/angry-skeletor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skeletor


SKELETOR

Maciej Bak
Swiss Institute of Bioinformatics

SKELETOR is a very small tool to generate text files based on pre-defined templates.

Setup

Clone this repository (under your $HOME directory):

cd;
git clone https://github.com/AngryMaciek/angry-skeletor.git;

Add the path to the repository to your $PATH permanently:

vim .bash_profle
# add the following line into the profile file:
# export PATH=$PATH":$HOME/angry-skeletor"

Update the global variables with your personal information:

vim angry-skeletor/template

Give the execution permissions to the script:

chmod +x angry-skeletor/template

And finally: restart shell

Important note
This software was developed to work with both GNU and BSD sed. Please do not utilize tab indentation in your template files as well as whitespace characters in the personal information variables.

Examples

Create a Python 3 script:

template my-script.py

Create a C header file:

template my_path/header.h

License

Apache 2.0




skeletor