node-matrix-bundler-cli

1.1.2 • Public • Published

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

Package Sidebar

Install

npm i node-matrix-bundler-cli

Weekly Downloads

0

Version

1.1.2

License

MIT

Last publish

Collaborators

  • joshgillies