@cognite/preview-cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

preview-cli

yarn global add @cognite/preview-cli

preview upload <folder> <gcs-path> will upload folder to gcs-path.

preview get <gcs-path> will give you the URL.

preview --help

Note: If you don't do anything, your URL will be the toString('hex') of your gcs-path. Make a PR in spinnaker-pipelines, look at the bottom of applications/preview-server/manifests.yaml to add a custom URL, that way you can reserve an <app-name>.preview.cogniteapp.com so that my-app/v1 becomes v1.my-app.preview.cogniteapp.com instead of 6d792d6170702f7631.preview.cogniteapp.com.

Readme

Keywords

none

Package Sidebar

Install

npm i @cognite/preview-cli

Weekly Downloads

0

Version

0.0.6

License

Apache-2.0

Unpacked Size

77.5 kB

Total Files

15

Last publish

Collaborators

  • npmwatchtower
  • cognitecicd