Tool to upload your Javascript to CloudScript.
Install:
npm i -D cloudscript-uploader
As CLI:
cloudscript-uploader --title=titleId --key=yourSecretKey --live=true --path=./dist/tarball.js
To prompt help use:
cloudscript-uploader --help
As library:
const cloudscriptUploader = ;const request = title: "yourTitleIdHere" key: "yourTitleDeveloperSecretKeyHere" live: true path: "./dist/tarball.js";;
Where to find your TitleId
You can find your titleId on settings inside one of your titles, then API features.
Where to find your Developer Secret Key for your Title
You can find your secret developer key clicking on settings inside one of your titles, then secret keys menu.