# caca

> A CLI tool for CA

Latest version **4.3.0** (published 2017-03-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install caca
pnpm add caca
yarn add caca
bun add caca
```

Provides the command `ca`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.3.0 |
| Published | 2017-03-16 |
| First published | 2016-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 15 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Zoltan Kochan |
| Maintainers | vstanyshevskyy, zkochan |
| Keywords | ca, cli |

## Links

- npm: https://www.npmjs.com/package/caca
- Repository: https://github.com/zkochan/caca
- Homepage: https://github.com/zkochan/caca#readme
- Issues: https://github.com/zkochan/caca/issues
- npm.io page: https://npm.io/package/caca

## Dependencies (15)

- [open](https://npm.io/package/open.md) 0.0.5
- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [rally](https://npm.io/package/rally.md) ^0.2.0
- [lodash](https://npm.io/package/lodash.md) ^4.15.0
- [inquirer](https://npm.io/package/inquirer.md) ^1.2.1
- [commander](https://npm.io/package/commander.md) ^2.9.0
- [cli-table2](https://npm.io/package/cli-table2.md) ^0.2.0
- [copy-paste](https://npm.io/package/copy-paste.md) ^1.3.0
- [configstore](https://npm.io/package/configstore.md) ^1.4.0
- [current-story](https://npm.io/package/current-story.md) ^1.0.0
- [git-repo-name](https://npm.io/package/git-repo-name.md) ^0.6.0
- [better-console](https://npm.io/package/better-console.md) ^0.2.4
- [git-user-email](https://npm.io/package/git-user-email.md) ^0.2.1
- [loud-rejection](https://npm.io/package/loud-rejection.md) ^1.6.0
- [update-notifier](https://npm.io/package/update-notifier.md) ^0.6.0

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 4.3.0 (latest) — 2017-03-16
- 4.2.0 — 2017-03-15
- 4.1.0 — 2017-03-14
- 4.0.0 — 2017-03-14
- 3.0.0 — 2017-02-28
- 2.0.0 — 2017-01-05
- 1.0.3 — 2016-09-29
- 1.0.2 — 2016-09-28
- 1.0.1 — 2016-09-28
- 1.0.0 — 2016-09-14
- 0.1.1 — 2016-03-03
- 0.1.0 — 2016-03-03

## README

# caca

> A CLI tool for CA

<!--@shields('travis', 'npm')-->
[![Build Status](https://img.shields.io/travis/zkochan/caca/master.svg)](https://travis-ci.org/zkochan/caca) [![npm version](https://img.shields.io/npm/v/caca.svg)](https://www.npmjs.com/package/caca)
<!--/@-->

## Table of Contents

- [Installation](#installation)
- [Available commands](#available-commands)
  - [ca --help](#ca---help)
  - [ca task --help](#ca-task---help)
  - [ca settings](#ca-settings)
  - [ca open](#ca-open)
  - [ca grab](#ca-grab)
  - [ca skype](#ca-skype)
- [Tasks](#tasks)
  - [ca task list](#ca-task-list)
  - [ca task update](#ca-task-update)
  - [ca task new](#ca-task-new)
- [License](#license)

## Installation

```sh
npm install --global caca
```

## Available commands

### `ca --help`

Ouputs description for each command

**Usage example**

```sh
$ ca --help

  Usage: ca [options] [command]


  Commands:

    task        do something with tasks
    settings    Sets the CA API key and current project
    open        Opens the specified defect or story
    help [cmd]  display help for [cmd]

  Options:

    -h, --help     output usage information
    -V, --version  output the version number
```

### `ca task --help`

Ouputs description for each task-related command

**Usage example**

```sh
$ ca task --help

  Usage: ca-task [options] [command]


  Commands:

    list|ls Prints the list of tasks of the story/defect
    new     Adds a new task to a story/defect
    update  Updates status and actuals of the task

  Options:

    -h, --help  output usage information
```

### `ca settings`

Sets the API key that will be used to communicate with Rally. Other commands won't work without an API key.
Sets the current project that is used in some other commands (e.g. `ca iteration`)

**Usage example**

```sh
$ ca api _023djief03fh34ASjfwe0f2jASojsasf0
```

### `ca open`

Opens the Rally story/defect in the browser based on git branch name or user input.

**Usage example**

```sh
$ ca open --help

  Usage: open [options]

  Opens the specified defect or story

  Options:

    -h, --help         output usage information
    -i, --interactive  Enables UI to enter custom item ID
```

### `ca grab`

Puts the backlog item into the current iteration

**Usage example**

```sh
$ ca grab --help

  Usage: grab [options]

  Puts the story into the current iteration

  Options:

    -h, --help         output usage information
    -i, --interactive  Enables UI to enter custom item ID
```

### `ca skype`

Prepares skype message for you

**Usage example**

```sh
$ ca skype --help

  Usage: skype [options]

  Prepares skype message for you

  Options:

    -h, --help         output usage information
    -i, --interactive  Enables UI to enter custom item ID
```

## Tasks

### `ca task list`

Prints out list of tasks added to the Rally story/defect in the CLI

**Usage example**

```sh
$ ca task list --help

  Usage: list|ls [options]

  Prints the list of tasks of the story/defect

  Options:

    -h, --help         output usage information
    -i, --interactive  Enables UI to enter custom item ID
```

### `ca task update`

Updates task info

**Usage example**

```sh
$ ca task update --help

  Usage: update [options]

  Updates status and actuals of the task

  Options:

    -h, --help         output usage information
    -i, --interactive  Enables UI to enter custom item ID
```

### `ca task new`

Adds a new task to a story/defect and prints the list of tasks after new one was created. Asks for task details (name, state, actuals, owner) in step-by-step process

**Usage example**

```sh
$ ca task new --help

  Usage: new [options]

  Adds a new task to a story/defect

  Options:

    -h, --help         output usage information
    -i, --interactive  Enables UI to enter custom item ID
```

## License

[MIT](./LICENSE) © [Zoltan Kochan](http://kochan.io)

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