Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
tests
.gitignore
.npmignore
.travis.yml
CHANGELOG.md
LICENSE.txt
README.md
dimension.js
package.json

README.md

mojito-cli-dimension

Build Status

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

See: mojito-dimensions-base

Something went wrong with that request. Please try again.