# @cypress/daily-commits

> List github links to commits for a given user across all the repos and branches in an organization

Latest version **0.0.2** (published 2017-03-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cypress/daily-commits
pnpm add @cypress/daily-commits
yarn add @cypress/daily-commits
bun add @cypress/daily-commits
```

Provides the command `daily-commits`.

## 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.0.2 |
| Published | 2017-03-02 |
| First published | 2016-12-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Chris Breiding |
| Maintainers | brian-mann, chrisbreiding, jennifer-mann, lorennorman |

## Links

- npm: https://www.npmjs.com/package/@cypress/daily-commits
- npm.io page: https://npm.io/package/@cypress/daily-commits

## Dependencies (10)

- [yargs](https://npm.io/package/yargs.md) ^6.4.0
- [github](https://npm.io/package/github.md) ^7.0.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.2
- [moment](https://npm.io/package/moment.md) ^2.17.0
- [ospath](https://npm.io/package/ospath.md) ^1.2.2
- [request](https://npm.io/package/request.md) ^2.79.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.4.6
- [fs-extra](https://npm.io/package/fs-extra.md) ^1.0.0
- [inquirer](https://npm.io/package/inquirer.md) ^1.2.3
- [request-promise](https://npm.io/package/request-promise.md) ^4.1.1

## Recent versions

- 0.0.2 (latest) — 2017-03-02
- 0.0.1 — 2016-12-01

## README

# Daily Commits

A command line utility to list the GitHubs links to commits for a specific day.

## Installation

```bash
npm install -g @cypress/daily-commits
```

## Usage

```bash
daily-commits [options]
```

## Options

| Option | Default | Description |
| ------ | ------- | ----------- |
| org | *org set on first run* | The org whose repos to use. On first run, you will be prompted for an organization. The one you enter will be persisted and used by default. You can use this option to override the org you originally specify |
| date | *yesterday* | The date to list the commits for. Should be in the format `YYYY-MM-DD` |
| clear | `false` | If passed, your GitHub access token and organization will be cleared. You will be prompted for them again on the next run. A safety hatch if you make a mistake entering them. |

## Examples

Specify org:

```bash
# list commits for the organziation 'cypress-io'
daily-commits --org cypress-io
```

Specify date:

```bash
# list commits for the date June 23, 2016
daily-commits --date 2016-06-23
```

Clear data:

```bash
# clear out the data stored
daily-commits --clear
```

## First run

On the first run, you will be prompted to enter a GitHub personal access token. This is used to read data from GitHub's API. [Create the token](https://github.com/settings/tokens/new), setting the following scopes:

![Token Scopes](https://cloud.githubusercontent.com/assets/1157043/20813470/c1a31156-b7e3-11e6-81af-514b4f55a0fc.png)

You will also be prompted to enter a GitHub organization name. Enter the name of the organization you want to list your commits for, for example, `cypress-io`.

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