@tririga/tri-pull
v1.1.1
Published
A tool for pulling the UX view source files from the TRIRIGA server.
Downloads
19
Readme
tri-pull
A tool for pulling the UX view source files from the TRIRIGA server.
Installation
$ npm install @tririga/tri-pull -gSynopsis
$ tri-pull -t <tririga_url> -u <user> -p <password>Options
-u, --user userThe user name of your TRIRIGA user. Required.-p, --password passwordThe password for your TRIRIGA user. Required.-t, --target urlThe URL of the TRIRIGA server. It must include the context path.--basicuser userThe user name for basic authentication.--basicpassword passwordThe user password for basic authentication.-v, --view view_nameThe name of the view to be pulled. Defaults to the current directory name.-d, --dir directory_pathThe directory to save the view files. Defaults to the current directory path.-y, --polymer stringThe Polymer version of the view to be pulled. Acceptable values are 1 or 3. Defaults to 3.-w, --webappPull files from a web application. When this property is used, -y option is ignored.-m, --maxconcurrentThe maximum concurrent pull requests to the server. Defaults to 1.--versionPrint tri-pull version.-q, --quietDo not print any non-error message to the console.-h, --helpPrint this help information.
Usage
Pull the Polymer 3 my-ux-3 view files to the current directory:
$ cd my-ux-3$ tri-pull -t http://tririga.dev:8001/dev -u myUserName -p myPasswordPull the Polymer 1 my-ux-1 view files to a different directory:
$ tri-pull -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v my-ux-1 -d /my-ux-1 -y 1Pull the files from the Web Application my-ux-02:
$ tri-pull -t http://tririga.dev:8001/dev -u myUserName -p myPassword -v my-ux-02 -d /my-ux-02 -w
