Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

codestrap

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codestrap

  • 0.2.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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
# 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

FAQs

Package last updated on 18 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc