Project

codestrap

0.0
Repository is archived
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
Codestrap is a file codestrap and boilerplate project tool. It is run from the command line and has been designed to make use of the CLIs autocomplete functionality available on supported operating systems shells.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

THIS PROJECT HAS BEEN ARCHIVED

CodeStrap

Build Status Dependency Status Inline docs

CodeStrap is a simple command line project code generator. It provides an easy way to create custom boilerplate for new projects and individual text files, and a very easy way to access that boilerplate.

It is written specifically for ease of use on the command line.

Quickstart

1. Download and install using the package installer

At this stage only Linux and OSX are supported.

PACKAGES

2. Clone the sample templates to your home directory

git clone http://github.com/dexterp/codestrap-samples.git $HOME/.codestrap

3. Add CodeStrap files to your path

echo 'export PATH=$HOME/.codestrap/bin:$PATH' >> $HOME/.profile
export PATH=$HOME/.codestrap/bin:$PATH

4. Scan available templates and generate commands (sym links)

# List templates
ls $HOME/.codestrap/content

# Generate links
strap -g

# List generated commands
ls $HOME/.codestrap/bin

5. Create files and projects from boilerplate

# Text file boilerplate
stubrubyscript myscript.rb
stubperlscript myscript.pl
# Project boilerplate
strappuppetmodule mypuppetmodule
straprubygem mygem

Boilerplate Setup

For template setups for both projects and individual files see ...

BOILERPLATE

Configuration File

Codestrap uses "Codestrapfile" as a configuration file. For details see.

CODESTRAPFILE