1.1.2 • Published 9 years ago

node-matrix-bundler-cli v1.1.2

Weekly downloads
8
License
MIT
Repository
github
Last release
9 years ago

node-matrix-bundler-cli

CLI tool to generate file bundles for import into Squiz Matrix systems.

Build Status js-standard-style

Install

npm install node-matrix-bundler-cli --global

Usage

matrix-bundler [entry] [output] [opts]

Options:
  --help, -h           show help message
  --version, -v        show version information
  --entry, -e          the entry point for bundler, default "."
  --output, -o         the exported file bundle, default "./bundle.tgz"
  --recursive, -r      recursively include subdirectories, default "false"
  --parent, -p         an asset id to import the files under, default "1"
  --link, -l           the link type all assets will be imported as, default "TYPE_1"
  --unrestricted, -u   whether unrestricted access is allowed, default "false"

Examples

matrix-bundler ./files ./files.tgz

matrix-bundler --entry ./files --link 2 --unrestricted --output ./files.tgz

Licence

MIT