@tririga/tri-deploy v1.2.3
tri-deploy
A tool for deploying UX views to a TRIRIGA Server. It updates the UX view files on the server with the files that exists on the specified directory. It will delete from the server the files that exists on the server but does not exist on the specified directory.
Installation
$ npm install @tririga/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.--basicuserThe user name for basic authentication.--basicpasswordThe user password for basic authentication.-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.-f, --files files ...A list of relative paths of the files to be uploaded. When it is used, no file will be deleted from the server. If the parameter is not used, the whole directory is uploaded to the server.-q, --quietDo not print any non-error message to the console.-y, --polymerThe polymer version of the view being deployed. Acceptable values are 1 or 3. Defaults to 3.-w, --webappDeploy files to a web app view. When this property is used, -y option is ignored.-m, --maxconcurrentThe maximum concurrent deploy requests to the server. Defaults to 1.--versionprint tri-deploy version.--helpprint this message.
Usage
Deploy a view named my-app from the current directory:
$ cd my-app$ tri-deploy - t http://tririga.dev:8001/dev -u myUserName -p myPasswordDeploy a view in a different directory:
$ tri-deploy -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v view-01 -d /view-01Deploy just one file of a view:
$ tri-deploy -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v view-01 -d /view-01 -f component-name.jsDeploy files to a Web App view
$ tri-deploy -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v view-01 -d /view-01 -w