Skip to content

metal/metal-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metal-cli

Command line tools for metal (e.g. build, soy).

Install

$ npm install --global metal-cli

Commands

You can see information about each supported command by typing $ metal --help in the command line. Below you'll find some of that info too.

build

$ metal build

Builds Metal.js code, compiling soy files and transpiling ES6 to ES5 for example. The default output format is globals, but that can be be changed via params, just like many other options. For more details, run $ metal build --help.

watch

$ metal watch

Watches soy and js files, building them when they change. The default output format is globals, but that can be be changed via params, just like many other options. For more details, run $ metal watch --help.

soy

$ metal soy

Compiling soy files and automatically makes them export generated components. For more details, run $ metal soy --help.