twal-cli
commands to generate and easy manage Twal projects
Last updated 5 months ago by ghuntheur .
MIT · Bugs · Original npm · Tarball · package.json
$ cnpm install twal-cli 
SYNC missed versions from official npm registry.

twal-cli

commands to generate projects and easy manage Twal projects

oclif Version Downloads/week License

Usage

$ npm install -g twal-cli
$ twal COMMAND
running command...
$ twal (-v|--version|version)
twal-cli/0.1.0 linux-x64 node-v8.15.1
$ twal --help [COMMAND]
USAGE
  $ twal COMMAND
...

Commands

twal cordova:build

Build and export your project

USAGE
  $ twal cordova:build

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ twal deploy:build

twal cordova:generate

generate cordova project base on your config

USAGE
  $ twal cordova:generate

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ twal deploy:config

twal create PROJECTNAME [STARTER]

Generate new Twal project

USAGE
  $ twal create PROJECTNAME [STARTER]

ARGUMENTS
  PROJECTNAME  project name
  STARTER      starter url

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ twal create exampleName

twal help [COMMAND]

display help for twal

USAGE
  $ twal help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

twal lang

Change languages configuration

USAGE
  $ twal lang

OPTIONS
  -h, --help                           show CLI help
  --defaultLanguage=defaultLanguage
  --useCountriesFlag=useCountriesFlag

EXAMPLE
  $ twal lang --useCountriesFlag=true --selectedDefault=en

twal lang:add SELECTEDLANGUAGE

Add languages to your project

USAGE
  $ twal lang:add SELECTEDLANGUAGE

ARGUMENTS
  SELECTEDLANGUAGE  lang to add

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ twal lang:add jp

twal page:create [PAGE]

Create subroutes for a page

USAGE
  $ twal page:create [PAGE]

ARGUMENTS
  PAGE  page name

OPTIONS
  -h, --help  show CLI help

EXAMPLES
  $ twal page:create
  $ twal page:create myPage

twal plugins:plugins [PLUGINSCOMMAND]

List of commands to manage your plugins

USAGE
  $ twal plugins:plugins [PLUGINSCOMMAND]

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ twal plugins add

Current Tags

  • 2.1.1                                ...           latest (5 months ago)

7 Versions

  • 2.1.1                                ...           5 months ago
  • 2.1.0                                ...           5 months ago
  • 2.0.1                                ...           5 months ago
  • 2.0.0                                ...           5 months ago
  • 1.2.0                                ...           5 months ago
  • 1.1.0                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (16)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |