Project

weapp-cli

0.0
No commit activity in last 3 years
No release in over 3 years
weapp-cli written by ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 10.0
~> 3.0

Runtime

~> 0.19.1
 Project Readme

weapp-cli

A command line that generates a weapp project comfortably.

Installation

$ gem install weapp-cli

Usage

First, generate a weapp project from zero:

$ weapp-cli new project

it will generate files like this:

$ weapp-cli new project
create  project/README.md
create  project/app.json
create  project/app.js
create  project/app.wxss
create  project/.gitignore
create  project/pages/index/index.js
create  project/pages/index/index.wxml
create  project/pages/index/index.wxss

Second, generate a new page into a weapp project:

$ cd project
$ weapp-cli page page1

it will generate files like this:

$ weapp-cli page page1
create  pages/page1/page1.js
create  pages/page1/page1.wxml
create  pages/page1/page1.wxss
insert  app.json

With weapp-cli, you can focus on your bussiness logic at weapp development.

Roadmap

  • New project
  • New page
  • Help
  • Support ES6
  • Add wiki for it
  • Add more test

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/windy/weapp-cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.