Command line tools for metal (e.g. build, soy).
$ npm install --global metal-cli
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.
$ 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
.
$ 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
.
$ metal soy
Compiling soy files and automatically makes them export generated components. For more details, run $ metal soy --help
.