npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

twal-cli

2.1.1 • Public • Published

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

Keywords

install

npm i twal-cli

version

2.1.1

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability