Skip to content

tingletech/nx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quick utility to upload files to Nuxeo

installation

In a node environment with correct permission you can install into the global node environment with

npm -g install https://github.com/ucldc/nxcli/archive/master.tar.gz

Then you can run the nx ... commands.

If you don't want to install into the global node_modules, recient versions of npm ship with a npx utility.

npm install https://github.com/ucldc/nxcli/archive/master.tar.gz

Then you can run commans as npx nx ....

nvm can be used to maintain multiple node environments with different versions.

help

nx --help
nx upfile --help
nx mkdoc --help
nx ls --help
nx q --help

In the future, there may be added more nx commands; such as

  • nx updir recursivly upload directory

needs a better package name


notes on node

rcfile

uses the same rcfile as pynux, often in ~/.pynux.

[nuxeo_account]
method = token
user = Administrator
password = Administrator
X-Authentication-Token = xxkxkx

[rest_api]
; pynux style
base = http://localhost:8080/nuxeo/site/api/v1
; js style
baseURL = http://localhost:8080/nuxeo/
restPath = site/api/v1/
automationPath = site/api/v1/automation/
timeout = 3000

About

quick utility to upload files to Nuxeo

Resources

License

Stars

Watchers

Forks

Packages

No packages published