UNPKG

mediacentral-upload

Version:

A upload tool for mediacentral cloud-ux projects

39 lines (26 loc) 1.34 kB
[![pipeline status](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-upload/badges/master/pipeline.svg)](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-upload/commits/master) [![coverage report](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-upload/badges/master/coverage.svg)](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-upload/commits/master) # Motivation A tool to upload a feature pack to avid marketplace ## Usage 1. As a CLI (Install globally) **npm i -g mediacentral-upload** 2. As a JS module ```js const upload = require('mediacentral-upload') upload(options) ``` ## CLI tool help page - Options: - `--version` Show version number [boolean] - `--help` Show help [boolean] - `-m, --manifest` path to a manifest file [default: "./manifest.json"] - `-p, --pack` path to a feature pack to upload [required] - `-i, --id` MyApplication id for your project [required] ## Api ### `upload([, options])` Parameters - `options` -- options object with keys: - `manifest` -- path to a manifest file - `pack` -- path to a feature pack to upload - `id` -- MyApplication id for your project