Command Line Interface for blink
Installation
npm i -g @tremorvideo/blink-cli
Commands
blink init <starter-kit>
Downloads a new Starter Kit into the current working directory.
Examples:
blink init spr
blink init prp
blink init pxp
blink prepare
Prepares HTML Templare for Animate CC with videos entered into the blink.toml. This command must be run everytime your videos have changed.
blink prepare
After the “prepare” command has finished, you MUST update the template in your Animate CC project. To do so:
- Click File > Publish Settings.
- Click the “Advanced” tab.
- Click “Import New…”
- Select “animate-template.html” and press "Open".
- Press “OK”
- When ready, republish the project.
blink build
Compiles a project for upload.
blink build
blink build-manifest
Builds a Manifest from the blink.toml and the project file.
blink build-manifest
blink build-vpaid
Builds the VPAID Bridge from the manifest.json. build-manifest needs to be run prior to this.
blink build-vpaid
blink copy
- Recursively copies files from
./src/images/**/*.(png|gif|jpg|svg)
into./dist/images
. - Recursively copies files from
./src/fonts/**/*.(woff|ttf|otf|woff2)
into./dist/fonts
. - Recursively copies files from
./src/plugins/**/*
into./dist/plugins
. Ignore copying of.js
files.
blink copy
blink upload
Upload files to static.tremorvideo.com. Returns the directory files were uploaded to.
blink upload