0.2.4 β€’ Published 6 years ago

@hzfe/wxapp-cli v0.2.4

Weekly downloads
-
License
ISC
Repository
github
Last release
6 years ago

wxapp-cli Build Status

A command line interface for Mini Program.

Install

npm install -g @hzfe/wxapp-cli

Usage

wxa <command> [args]

Commands:
  wxa new [projectname] [templaterepo]  🍎 New a mini program project
  wxa gen [type] [name] [root]          🍐 Generate specific type files.
                                                          [aliases: g, generate]

Options:
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

wxa new

Create new mini program with out-of-the-box support for Babel, ESLint, TypeScript, PostCSS, etc.

wxa new [projectname] [templaterepo]

Positionals:
  projectname   πŸ““ Your project name
  templaterepo  πŸ“’ Git repository or local directory

Options:
  -y, --yes      Use default setting                                   [boolean]
  -h, --help     Show help                                             [boolean]

wxa gen

Generate pages, subPackages, components with a simple command.

wxa gen [type] [name] [root]

Positionals:
  type  πŸ““ Type to generate. (Available choices: [page, spage, cpn])
  name  πŸ“’ Name used for files. (Path can be included in the name)
  root  πŸ“– Root used for subpackage files. (Only available for [spage] type)

Options:
  -h, --help     Show help                                             [boolean]

Advancetodo

You can create a mini program using your customize project template.

0.2.4

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago