mojito-cli-dimension
v0.0.3
Published
Provides 'dimension' mojito-cli command for creating dimensions 'super-bundle' packages.
Downloads
3
Readme
mojito-cli-dimension
Build Status
Usage
Provides dimension
mojito-cli command for creating dimensions super-bundle
packages.
Install
npm install mojito-cli-dimension -g
Usage
$ mojito help dimension
Usage: mojito dimension [options] [create|value] [name] [dir]
create Creates a new dimensions super-bundle package
value Creates a new dimension value dir in
an existing super-bundle package.
Options:
--prefix Package name prefix (default: mojito-dimensions)
Examples:
To create an experiments dimension package:
mojito dimension create experiment_foo
# creates package mojito-dimensions-experiment_foo
To create a package on a different dir:
mojito dimension create experiment_foo /path/to/pkg
# creates package /path/to/pkg/mojito-dimensions-experiment_foo
To create a dimension value:
cd mojito-dimensions-experiment_foo
mojito dimension value EXP001
# initializes experiment at mojito-dimensions-experiment_foo/EXP001
Use a different package prefix:
mojito dimension --prefix=my-dimensions create experiment_foo
# creates package my-dimensions-experiment_foo