grow-cli
Generator for apps that makes life easy
Last updated 2 years ago by ohmyxm .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grow-cli -g
SYNC missed versions from official npm registry.

grow

Generator for projects that makes life easy (inspired by vue-cli)

The installation: npm install grow-cli -g

Features

  1. Write your own custom template and store them on github
  2. Generate project from templates on github
  3. List available templates

Usage

Config your github account

  • grow config --username your-github-username

No need to explain, this command will create a file ~/.growconfig holding your github configs. You have to set your GitHub username first to run other commands.

Create A Project

  • grow init your-template-name your-project-name

This will create a project with the name you give using the template on the current working directory. Note that the project is located inside a folder named your-project-name.

  • grow init your-template-name your-project-name -i

This is almost the same with the first one above, but instead it will create all of the files in the current working directory. -i is short for --indir

  • grow list

List templates on your GitHub. Template Repos are suffixed with -gt

Create A Template

  1. Create a repo on your github named 'blablabla-gt', with -gt at the end.

  2. Setup your template project as usual.

  3. Put a grow.config.js file inside the repo with configurations. The config file is used to fill the {{xxx}} inside your template.

For more information, just look into my simple vue.js template vue-gt

Upcoming features

No idea XD

Current Tags

  • 1.1.1                                ...           latest (2 years ago)

4 Versions

  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (12)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |