Giter Club home page Giter Club logo

template's Introduction

template

Let's quickly start your work.
Expand your template files into your current directory.

To use, only type below.

template report

Install

  1. Clone this repository
git clone https://github.com/amiq11/template.git
  1. Copy your template into the directory you cloned
cp -r yourtemplate path/to/template
  1. Install
sudo make install
  1. (Only for zsh users) Add completion settings
mkdir ~/.zsh.d
cp /etc/bash_completion.d/template ~/.zsh.d/template-completion.bash

And add the following lines into ~/.zshrc .

autoload -U bashcompinit
bashcompinit
source ~/.zsh.d/template-completion.bash

Usage

As type this command, yourtemplate will be expanded into your current directory.

template yourtemplate

If you want to specify the target directory, use -f option.

template -f targetdir yourtemplate

If you want to use another template, use -d option. In this case, templatedir/yourtemplate will be scattered into your current directory.

template -d templatedir youtemplate

As you add new template, only copy the template into the directory you cloned, and reinstall.

cp -r newyourtemplate path/to/template
cd path/to/template
sudo make install

For zsh user, don't have to reinstall the zsh completion file.

template's People

Contributors

makotoshimazu avatar tiwanari avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.