# codacy-cli

> Command Line Interface(CLI) tool for Codacy

Latest version **0.2.0** (published 2016-04-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install codacy-cli
pnpm add codacy-cli
yarn add codacy-cli
bun add codacy-cli
```

Provides the command `codacy`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2016-04-23 |
| First published | 2014-06-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10 |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | João Caxaria |
| Maintainers | codacy |
| Keywords | codacy, cli, command line, automated code review, code review, monitoring |

## Links

- npm: https://www.npmjs.com/package/codacy-cli
- Repository: https://github.com/codacy/codacy-cli
- Homepage: https://www.codacy.com
- Issues: https://github.com/codacy/codacy-cli/issues
- npm.io page: https://npm.io/package/codacy-cli

## Dependencies (6)

- [extend](https://npm.io/package/extend.md) 3.0.0
- [pkginfo](https://npm.io/package/pkginfo.md) 0.3.1
- [commander](https://npm.io/package/commander.md) 2.9.0
- [http-sync](https://npm.io/package/http-sync.md) 0.1.2
- [json-table](https://npm.io/package/json-table.md) 0.1.3
- [sync-prompt](https://npm.io/package/sync-prompt.md) 0.4.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2016-04-23
- 0.1.1 — 2014-06-02

## README

### Codacy Command Line Interface (CLI)
# Automated Code Linting and Monitoring

[![Circle CI](https://circleci.com/gh/codacy/codacy-cli.svg?style=shield)](https://circleci.com/gh/codacy/codacy-cli)
[![Codacy Badge](https://api.codacy.com/project/badge/grade/7cab81e0d23592b83da165cdbf5dd38f)](https://www.codacy.com/app/Codacy/codacy-cli)
[![NPM](https://img.shields.io/npm/v/codacy-cli.svg)](https://www.npmjs.com/package/codacy-cli)

\[ [Use it online](https://www.codacy.com) • [Features](https://www.codacy.com/features) •
[Pricing](https://www.codacy.com/pricing) • [About us](https://www.codacy.com/about) •
[GitHub](https://www.github.com/codacy) • [Blog](http://blog.codacy.com) •
[Twitter](https://twitter.com/codacy/) \]

Codacy is a hosted automated code review service.

Codacy automatically applies some patterns to your project and grades it so you can take a first glance of its health. We'll also provide you with all the detailed information required to improve it, effectively helping you tackle your technical debt.

#### Quick Install
Run
```
[sudo] npm install -g codacy-cli
```

#### Generate Token

Go to your [account](https://www.codacy.com/account#ApiTokens) and click generate.
Then you can load your token with one of the following methods:
* Default configuration file `.codacy`

* Custom configuration file with `-c` or `--config`

* Introduce it interactively in the CLI when requested

###### Configuration File Example

      {
        "apiToken":"**************"
      }

#### Usage

    Usage:
        codacy [options]
    
    Options:
        -h, --help                                              output usage information
        -V, --version                                           output the version number
        -c, --config [file]                                     load the specified configuration file
        -o, --output [format]                                   select the output format:
                                                                    * raw (default)
                                                                    * json
                                                                    * table
        -l, --projects                                          list projects
        -p, --project [projectId | <projectOwner,projectName>]  view project issues
        -C, --commit [sha]                                      view commit overview (dependsOn: --project)
        -D, --delta                                             view commit delta (dependsOn: --commit)
        -a, --analyse [file]                                    analyse the specified file or directory
    
    For support, email team@codacy.com

#### Reporting a bug

To report a bug you can create a
[GitHub Issue](https://github.com/codacy/codacy-cli/issues/new) and describe
your problem or suggestion.

Before reporting a bug check if there are no open or closed
tickets that cover your issue.

#### License

Codacy Command Line Interface(CLI) is distributed under the MIT License.

#### Thank you!

We really appreciate all kind of feedback. Thanks for using Codacy!

---
_Source: https://npm.io/package/codacy-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
