https://github.com/angrymaciek/angry-skeletor
Generate text files based on pre-defined templates.
https://github.com/angrymaciek/angry-skeletor
templates templating text-files
Last synced: 5 months ago
JSON representation
Generate text files based on pre-defined templates.
- Host: GitHub
- URL: https://github.com/angrymaciek/angry-skeletor
- Owner: AngryMaciek
- License: apache-2.0
- Created: 2019-09-21T21:09:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-20T16:20:37.000Z (about 3 years ago)
- Last Synced: 2025-09-09T07:53:39.915Z (9 months ago)
- Topics: templates, templating, text-files
- Language: Python
- Size: 1.61 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 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):
```bash
cd;
git clone https://github.com/AngryMaciek/angry-skeletor.git;
```
Add the path to the repository to your $PATH permanently:
```bash
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:
```bash
vim angry-skeletor/template
```
Give the execution permissions to the script:
```bash
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:
```bash
template my-script.py
```
Create a C header file:
```bash
template my_path/header.h
```
## License
Apache 2.0