# ZET

It is a CLI tool to help developer's build client side widgets (marketplace extensions) & test them locally without uploading the extensions to marketplace. 

## How do I install and use ZET?

### Prerequisite: Node ( v6+ ) and npm ( v3+ ).

Refer [this link](https://nodejs.org/en/download/) for installing Node.js platform.Once Node is installed, verify it by running the following command.


```sh

$ node -v
$ npm -v

```

## Installing CLI


Run the following command to install the zet cli node package. 

```sh

$  npm install -g zoho-extension-toolkit

```

Run the following command to check if the installation is successful.

```sh

$ zet // Will show help information about the 'zet' command

```

## Using CLI


### Commands: 

init - View and select the Zoho service for your extension

run - Start the server on your local machine

package - Create a zip file of all widget source files

validate - Check and validate all widget source file

### Options:

| Option        | Description              |
| ------------- |:-----------------------: | 
| -h, --help    | Output usage information | 
| -v, --version | View version number      | 