CircleCI local command line tool distributed as a node module.
This allows you to include the CircleCI binary in your project/application without requiring users to separately install it on their system.
Install the node module to include the CircleCI binary in your project:
npm install circleci-bin --save-dev
or:
yarn add circleci-bin --dev
Add and reference the circleci
binary from your package.json scripts:
{
"scripts": {
"circleci": "circleci"
}
}
Run a command from the shell:
yarn circleci --help
or:
npm run circleci --help