0.1.0 • Published 8 years ago
tri-deploy v0.1.0
tri-deploy
A simple tool for deploying UX views to a TRIRIGA Server.
Installation
$ npm install tri-deploy -gSynopsis
$ tri-deploy -t <tririga_url> -u <user> -p <password>Options
-t, --target urlThe URL of the TRIRIGA server. It must include the context path.-u, --user usernameThe user name.-p, --password passwordThe user password.-v, --view viewThe name of the view to be deployed. Defaults to the current directory name.-d, --dir directory_pathThe directory path that contains the files for the view to be deployed. Defaults to the current directory path.--versionprint tri-deploy version.--helpprint 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>