Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

octet-stream/tavi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tavi

Tavi is small utility for create projects :)

Installation

You can install Tavi using npm:

	sudo npm install -g tavi

Usage

You can provide Tavi only pattern:

	tavi pattern

Pattern may contain only dashes, dots, alphabet symbols and numbers.

Use these special symbols in your pattern for:

  • / - add subdirectory to current directory
  • + - add something to current level
  • ^ - up to one level

You can save your pattern:

	tavi -s patternName pattern

And create project with saved pattern:

	tavi patternName

Examples

For this pattern

	tavi -c foo/.bowerrc+.npmignore+.gitignore+coffee/main.coffee+extra.coffee^public/assets/css+js^img/browsers+errors+icns+layout^^stylus/common.styl+luna.styl^views/about.jade+error-page.jade+home.jade+layout.jade+pro.jade

Tavi will create project with this structure:

./foo
./foo/coffee
./foo/.bowerrc
./foo/.npmignore
./foo/.gitignore
./foo/coffee/main.coffee
./foo/coffee/extra.coffee
./foo/public
./foo/public/assets
./foo/public/assets/css
./foo/public/assets/js
./foo/public/img
./foo/public/img/browsers
./foo/public/img/errors
./foo/public/img/icns
./foo/public/img/layout
./foo/stylus
./foo/stylus/common.styl
./foo/stylus/luna.styl
./foo/views
./foo/views/about.jade
./foo/views/home.jade
./foo/views/layout.jade
./foo/views/error-page.jade
./foo/views/pro.jade

Other information about repository

The source repository: https://github.com/octet-stream/tavi.git

To suggest a feature or report a bug: https://github.com/octet-stream/tavi/issues

About

Small utility for create projects (PROJECT IS NO MORE MAINTAINED)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published