options

--mhy-help

# show usage details
mhy --mhy-help

--mhy-debug

# show debug messages
mhy --mhy-debug

--mhy-verbose

# show more info than usual
mhy --mhy-verbose

--mhy-env

Controls process.env.NODE_ENV variable and adds support to have multiple secondary environments.

Aliases:

  • prod: production

  • dev: development (default)

Basic Usage

Secondary environments

You can use the : separator to define multiple secondary environments.

The first environment will be always set as a value for process.env.NODE_ENV.

Example

Secondary environments are supported and config also.

--mhy-if

Executes the command only when the given expression is truthy.

--mhy-version

Last updated

Was this helpful?