This package has been deprecated

Author message:

Package no longer supported. Use at your own risk. If there is still interest in it contact info@martin-fieber.se

@berries/acai-cli

1.3.7 • Public • Published

@berries/acai-cli

Berries acai cli logo with three berries and two leafs shown.

npm Build Status Coverage Status lerna Commitizen friendly code style: prettier

Calculate bug spots in git repositories based on commit messages.

This is the command line tool that uses the @berries/acai library to calculate a list of files that where bug prone in the recent past by applying a score value to the files. The older a commit for a file gets, the less priority it has. This prevents files that where fixed a long time ago to be forever on top of the list.

Important note: The results for the hot spots are only relevant for the project itself and can not be compared from one project to another (except you find a way to do it! 😉).

Animated usage example of the acai cli.

Table of contents

Environment

  • Node >= 8
  • NPM >= 5

Usage

You can install the CLI with:

$ npm i @berries/acai-cli -g

and run the acai-cli inside a git repository (other version control systems will be follow):

$ acai

or use npx and run acai directly:

$ npx @berries/acai-cli

Options

Option Short Description
--help -h Show the help text for acai command line tool
--version Show the installed CLI version
--cwd -d Define a different git repository, e.g.: $ acai -d "path/to/git/repo"
--format -F Define the output format. Available options: human
--branch -b Branch to run stats on, default branch is the currently selected
--depth -D Define how many commits in the past should be considered
--files -f One or more file patterns to match against. You can use http://www.globtester.com to test your patterns.

License

MIT

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @berries/acai-cli

    Weekly Downloads

    3

    Version

    1.3.7

    License

    MIT

    Unpacked Size

    26.8 kB

    Total Files

    12

    Last publish

    Collaborators

    • martinhelmut