Sha256: b1afea4bab380e07f3a732e23567a4d875ee21355f5ece0eb81ec62dedfa416c

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 KB

Contents

# Temp

Temp is a simple command line utility for creating projects from templates.

## Installation

You can install Temp with `gem install temp`.

## Usage

### Templates

By default, Temp will look for templates in `~/.temp`. A template can have a
`.tempignore` file that contains a newline-separated list of globs to specify
files that should be ignored.

### Project

To create a project from a template, use `temp project_dir template_name`. Temp
will create a project directory and copy all the files from a template of the
given name (excluding the ignored files, of course).

## Later

Temp isn't very useful at the moment but I do have some features planned for
later:

 - A DSL for the templates
 - Passing options to the DSL so that, for example, a file can be ignored if the
   user specifies a certain option on the command line
 - Allow ERB to be used in files

## License

Copyright (c) 2011 Austin Gatchell

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
temp-0.0.2 Readme.mdown