Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

flavors-command

flavors-js3MITdeprecated1.2.3

This module is deprecated. It was embedded in https://github.com/flavors-js/flavors. See https://github.com/flavors-js/flavors#command-runner.

Flavors (Node.js configuration management library) command loader and runner.

node.js, configuration, management, config, resolver

readme

This module is deprecated. It was embedded in flavors. See flavors command runner.

flavors-command

Command loader and runner powered by Flavors configuration management library.
It allows to load and run commands in the pre-configured environment.

Install

$ npm install --save-dev flavors-command

Usage

As module

const options = {configName: 'myConfig', spawnOptions: {shell: true}};
require('flavors-command')(
  options,
  'echo', '$value1', '$value2' // command and arguments
);

options parameter

Options for flavors-runner and flavors.

command and arguments parameters

Command to run and its arguments.

Maintainers

License

See the LICENSE file for details.