# tri-deploy

A simple tool for deploying UX views to a TRIRIGA Server.

### Installation

    $ npm install tri-deploy -g

### Synopsis

	$ tri-deploy -t <tririga_url> -u <user> -p <password>

### Options

  * `-t, --target url` The URL of the TRIRIGA server. It must include the context path. 
  * `-u, --user username` The user name.
  * `-p, --password password` The user password.
  * `-v, --view view` The name of the view to be deployed. Defaults to the current directory name.
  * `-d, --dir directory_path` The directory path that contains the files for the view to be deployed. Defaults to the current directory path. 
  * `--version` print tri-deploy version.
  * `--help` print this message.

### Usage

To deploy a view called my-app, run the following command:

    $ cd my-app/
    $ tri-deploy -t <tririga_url> -u <user> -p <password>

To deploy a view in a different directory:

	$ tri-deploy -t <tririga_url> -u <user> -p <password> -v <name_of_view> -d <diretory_for_view>