@cognite/preview-cli
v0.0.6
Published
yarn global add @cognite/preview-cli
Downloads
12
Readme
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
.