Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/metal/metal-cli

Command line tools for metal (e.g. build, soy)
https://github.com/metal/metal-cli

metal soy

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# metal-cli

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

## Install

```sh
$ 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

```sh
$ 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

```sh
$ 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

```sh
$ metal soy
```

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