Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including twal-cli with all npm packages installed. Try it out:

var twalCli = require("twal-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

twal-cli v2.1.1

commands to generate and easy manage Twal projects

twal-cli

commands to generate projects and easy manage Twal projects

oclif Version Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ 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`](#twal-cordovabuild) * [`twal cordova:generate`](#twal-cordovagenerate) * [`twal create PROJECTNAME [STARTER]`](#twal-create-projectname-starter) * [`twal help [COMMAND]`](#twal-help-command) * [`twal lang`](#twal-lang) * [`twal lang:add SELECTEDLANGUAGE`](#twal-langadd-selectedlanguage) * [`twal page:create [PAGE]`](#twal-pagecreate-page) * [`twal plugins:plugins [PLUGINSCOMMAND]`](#twal-pluginsplugins-pluginscommand)

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

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free